This documentation is archived and is not being maintained.

OperationContext Members

Provides access to the execution context of a service method.

The OperationContext type exposes the following members.

  NameDescription
Public method OperationContext Initializes a new instance of the OperationContext class that uses the specified IContextChannel in a client application.
Top

  NameDescription
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetCallbackChannel<T> Gets a channel to the client instance that called the current operation.
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.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetTransactionComplete Commits the currently executing transaction.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property Channel Gets the channel associated with the current OperationContext object.
Public property Static member Current Gets or sets the execution context for the current thread.
Public property EndpointDispatcher Gets or sets the endpoint dispatcher for the endpoint to inspect or modify.
Public property Extensions Gets the collection of service extensions from the current message context.
Public property HasSupportingTokens Gets a value that indicates whether the incoming message has supporting tokens.
Public property Host Gets the ServiceHost for the current service object.
Public property IncomingMessageHeaders Gets the incoming message headers for the OperationContext.
Public property IncomingMessageProperties Gets the message properties for the incoming message in the OperationContext.
Public property IncomingMessageVersion Gets the incoming SOAP message version for the OperationContext.
Public property InstanceContext Gets the InstanceContext object that manages the current service instance.
Public property IsUserContext This property is intended for system use and should not be called by users.
Public property OutgoingMessageHeaders Gets the outgoing message headers for the active OperationContext.
Public property OutgoingMessageProperties Gets the message properties for the outbound message in the active OperationContext.
Public property RequestContext Gets or sets the RequestContext implementation for this method.
Public property ServiceSecurityContext Gets or sets the ServiceSecurityContext within which this method executes.
Public property SessionId Gets the String used to identify the current session.
Public property SupportingTokens Gets a ICollection<T> of type System.IdentityModel.Tokens.SecurityToken.
Top

  NameDescription
Public event OperationCompleted Occurs when the operation has completed.
Top
Show: