Used to modify or extend the execution behavior of a specific contract operation in a client object or client channel object. This class cannot be inherited.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Thetype exposes the following members.
|ClientOperation(ClientRuntime, String, String)||Initializes a new instance of the class using the specified ClientRuntime, name, and action values.|
|ClientOperation(ClientRuntime, String, String, String)||Initializes a new instance of the class using the specified ClientRuntime, name, action, and reply action values.|
|Action||Gets the action of the operation.|
|BeginMethod||Gets or sets the method associated with an asynchronous operation.|
|DeserializeReply||Gets or sets a value that indicates whether the Formatter property value is used to deserialize the reply message.|
|EndMethod||Gets or sets the method that implements the asynchronous end method for the operation.|
|Formatter||Gets or sets the formatter that serializes objects into messages and deserializes messages into objects.|
|IsInitiating||Gets or sets a value that indicates whether a session can be started by a message to this operation.|
|IsOneWay||Gets or sets a value that indicates whether the operation is a one-way operation.|
|IsTerminating||Gets or sets a value that indicates whether this operation is the last one in a session.|
|Name||Gets the name of the operation.|
|Parent||Gets the containing ClientRuntime object.|
|ReplyAction||Gets the action of the reply message for this operation.|
|SerializeRequest||Gets or sets a value that specifies whether the Formatter object serializes an outbound message.|
|SyncMethod||Gets or sets the method that is associated with this operation.|
|Equals(Object)||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
The class is the location for client runtime modifications and insertion point for custom extensions that are scoped to a single service operation. (To modify client run-time behavior for all messages in a contract, use the ClientRuntime class.)
The following properties enable you to insert custom objects or modify the client execution behavior:
Use the SerializeRequest property to control who serializes an outbound message.
Use the DeserializeReply property to control who deserializes an inbound message.
Use the IsOneWay property to control whether the client waits for a response before completing the invocation.
Use the Name property to get the name of the operation.
Use the SyncMethod property to control which method is mapped to the operation.