System.ServiceModel 4.0.0.0 System.Object

The class is the location for client run-time modifications and insertion point for custom extensions that are scoped to only one service operation. (To modify client run-time behavior for all messages in a contract, use the class. )

Install modifications using a custom client behavior object, either of type (to find a particular operation to modify) or of type (which can then be applied by creating a custom attribute).

Use the property to locate the object that represents a particular service operation.

For more information about clients and the client architecture, see Consuming Services Using a Client and Client Architecture. For more information about customizing the client runtime, see Extending Clients. For more information about using behaviors, see Attaching Extensions Using Behaviors.

The following properties enable you to insert custom objects or modify the client execution behavior:

Use the property to insert a custom implementation for an operation or modify the current formatter.

Use the property to insert a custom implementation or to modify the current one.

Use the property to control who serializes an outbound message.

Use the property to control who deserializes an inbound message.

Use the property to access the WS-Addressing action of the request message and the property to access the response message action.

Use the and to specify which client methods are associated with an asynchronous operation.

Use the property to get a collection of specified types that can appear in SOAP faults as the detail type.

Use the and properties to control whether a session is initiated or is torn down, respectively, when the operation is called.

Use the property to control whether the client waits for a response before completing the invocation.

Use the property to obtain the containing object.

Use the property to get the name of the operation.

Use the property to control which method is mapped to the operation.

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.

- Constructor
  4.0.0.0
  To be added.

  Initializes a new instance of the class using the specified , name, and action values.

  The containing object.
  The name of the operation.
  The action of the operation.
- Constructor
  4.0.0.0
  To be added.

  Initializes a new instance of the class using the specified , name, action, and reply action values.

  The containing object.
  The name of the operation.
  The action of the operation.
  The action of the reply message.
- Property
  4.0.0.0
  System.String To be added.

  By default this value corresponds to the value of .

  Gets the action of the operation.

- Property
  4.0.0.0
  System.Reflection.MethodInfo To be added. To be added.

  Gets or sets the method associated with an asynchronous operation.

- Property
  4.0.0.0
  System.Collections.Generic.ICollection<System.ServiceModel.Dispatcher.IParameterInspector> To be added.

  ClientParameterInspectors is a thread-safe collection.

  Gets a collection of parameter inspector objects used to view or modify parameters prior to or subsequent to a client call.

- Property
  4.0.0.0
  System.Boolean To be added.

  Use the property to control whether the formatter deserializes the return value from an inbound message or whether the inbound message is returned directly as the return value.

  Note If false, the return type must be of type and there can be no out parameters or an is thrown at run-time. If the message is null, a is thrown at run-time.

  Gets or sets a value that indicates whether the property value is used to deserialize the reply message.

- Property
  4.0.0.0
  System.Reflection.MethodInfo To be added. To be added.

  Gets or sets the method that implements the asynchronous end method for the operation.

- Property
  4.0.0.0
  System.Collections.Generic.SynchronizedCollection<System.ServiceModel.Dispatcher.FaultContractInfo> To be added.

  Use the property to get a collection of all contractually specified SOAP faults.

  Gets a collection of objects that represent the specified SOAP faults for this operation.

- Property
  4.0.0.0
  System.ServiceModel.Dispatcher.IClientMessageFormatter To be added.

  Use the property to insert a custom implementation for an operation or modify the current formatter. The use of the formatter can be controlled by the and properties.

  The interface defines the and methods, which are used to convert a set of object parameters to a message and from a message to a set of return values, respectively.

  Gets or sets the formatter that serializes objects into messages and deserializes messages into objects.

- Property
  4.0.0.0
  System.Boolean To be added.

  By default this value corresponds to the value of .

  Gets or sets a value that indicates whether a session can be started by a message to this operation.

- Property
  4.0.0.0
  System.Boolean To be added.

  By default this value corresponds to the value of . For issues related to one-way operations, see One-Way Services.

  Gets or sets a value that indicates if the operation is a one-way operation.

- Property
  4.0.0.0
  System.Boolean To be added.

  By default this value corresponds to the value of .

  Gets or sets a value that indicates if this operation is the last one in a session.

- Property
  4.0.0.0
  System.String To be added.

  By default this value corresponds to the value of .

  Gets the name of the operation.

- Property
  4.0.0.0
  System.Collections.Generic.SynchronizedCollection<System.ServiceModel.Dispatcher.IParameterInspector> To be added.

  Use the property to insert a custom implementation or to modify the current one. Parameter inspectors are invoked in the order in which they are added to the collection for requests and in the reverse order for replies.

  Gets or sets a collection of objects that can inspect and modify inbound and outbound objects for a particular client method.

- Property
  4.0.0.0
  System.ServiceModel.Dispatcher.ClientRuntime To be added. To be added.

  Gets the containing object.

- Property
  4.0.0.0
  System.String To be added.

  By default this value corresponds to the value of .

  Gets the action of the reply message for this operation.

- Property
  4.0.0.0
  System.Boolean To be added.

  Use the property to indicate whether the formatter serializes operation parameters into a reply message or to determine if the first parameter is sent as the outbound message.

  If set to false, the operation must have exactly one parameter of type or an exception is thrown.

  Gets or sets a value that specifies whether the object serializes an outbound message.

- Property
  4.0.0.0
  System.Reflection.MethodInfo To be added. To be added.

  Gets or sets the method that is associated with this operation.

- Property
  4.0.0.0
  System.Reflection.MethodInfo To be added. To be added.

  Gets or sets the method associated with a task.

- Property
  4.0.0.0
  System.Type To be added. To be added.

  Gets or sets the type of the result of the method that is associated with a task.