Click here to Skip to main content
15,881,852 members
Articles / Programming Languages / C#

WS-Enumeration for WCF/WF

Rate me:
Please Sign up or sign in to vote.
4.86/5 (5 votes)
4 Feb 2011CPOL5 min read 25.8K   220   10  
In this article, I describe the design and implementation of a WS-Enumeration for WCF.
using System;
using System.Linq;
using System.Collections.Generic;
using System.ServiceModel;

namespace WSEnumeration.Faults
{
    public class InvalidEnumerationContextException : FaultException
    {
        public InvalidEnumerationContextException()
            : base("Invalid enumeration context",
                   FaultCode.CreateReceiverFaultCode("InvalidEnumerationContext", WSEnumeration.FaultAction),
                   WSEnumeration.FaultAction)
        {
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Russian Federation Russian Federation
I have Master degree in Particle Physics. During my last several years I work as software developer.

Primary Interests
- c#, c++, php, java.
- scientific programming

Comments and Discussions