ServiceDomain Members

Allows a code segment identified by Enter and Leave to run in its own context and behave as if it were a method that is called on an object created within the context. This class cannot be inherited.

The following tables list the members exposed by the ServiceDomain type.

(see also Protected Methods )
  Name Description
Public method Static Enter Creates the context specified by the ServiceConfig object and pushes it onto the context stack to become the current context.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static Leave Triggers the server and then the client side policies as if a method call were returning. The current context is then popped from the context stack, and the context that was running when Enter was called becomes the current context.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Community Additions