System.ServiceModel 4.0.0.0 System.Object

indigo2 client objects, whether an extension of or of , are used by indigo1 client applications to convert method calls into outbound messages and convert incoming messages to objects and pass them to the results of client methods.

The class is an extensibility point to which you can add extension objects that intercept messages and extend client behavior across all operations. Interception objects can process all messages in a particular contract, process only messages for particular operations, perform custom channel initialization, and implement other custom client application behavior. For an overview of client architecture, see Client Architecture. For more information about client programming, see Consuming Services Using a Client. For details about customizations and how to perform them, see Extending Clients.

The property returns the dispatch run-time object for service-initiated callback operations.

The property accepts a custom operation selector object to control the routing of client messages.

The property enables the addition of a channel initializer that can inspect or modify the client channel.

The property can be used to display a visual prompt to enable a user to select credentials prior to opening the channel.

The property gets a collection of objects to which you can add custom message interceptors that provide functionality specific to the messages of that operation.

The property enables an application to turn off some automatic addressing headers to directly control addressing.

The property enables the client to limit the size of fault messages that the client accepts.

The property gets a collection of objects to which you can add custom message interceptors for all messages traveling through a client.

The property returns the operation to which unexpected messages are passed.

The property informs the system whether it should confirm that SOAP headers marked as MustUnderstand have, in fact, been understood.

The property sets the value of the destination of the message at the transport level to support intermediaries and other scenarios.

In addition, there are a number of other properties that retrieve the client contract information:

If the client is a duplex client, the following properties also retrieve the client callback type and runtime:

Represents the insertion point for classes that extend the functionality of indigo1 client objects for all messages handled by a client application.

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

  Gets or sets the type of the callback contract associated with a duplex client.

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

  Gets the dispatch run-time that dispatches service-initiated operations.

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

  Use the property to add a custom object that can inspect the channel that is associated with a client on creation, register for events on the channel, and associate state with the channel by using .

  Gets a collection of channel initializer objects used to customize the channel associated with a client.

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

  ClientMessateInspectors is a thread safe collection.

  Gets a collection of message inspector objects used to view or modify messages of a particular service operation.

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

  ClientOperations is a thread safe collection.

  Gets a collection of client operation objects used to attach extension objects that inspect or modify messages and behavior of a particular service operation.

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

  Gets or sets the type of the contract associated with a client.

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

  Gets the name of the contract associated with a client.

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

  Gets the namespace of the contract associated with a client.

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

  For details about how to use interactive channel initializers, see Consuming Services Using a WCF Client.

  Gets a collection of an interactive channel initializer.

- Property
  4.0.0.0
  System.Boolean To be added.

  Set the property to true if you want to prevent the client from adding Message ID and Reply-To addressing headers to request/response messages so that your application can control these headers.

  If is true, the client does not support request-reply operations over a duplex channel.

  Gets or sets a value that indicates whether the client adds addressing headers to request-reply messages.

- Property
  4.0.0.0
  System.Int32 To be added.

  Use the property to limit the size of fault messages accepted by the client runtime.

  Gets or sets the maximum fault size.

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

  Use the property to attach custom implementations to inspect or modify all messages that flow through the client.

  Gets a collection of message inspector implementations for a client.

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

  Gets or sets a value that indicates whether the MessageVersionNoneFaultsEnabled property is set.

- Property
  4.0.0.0
  System.Collections.Generic.SynchronizedKeyedCollection<System.String,System.ServiceModel.Dispatcher.ClientOperation> To be added.

  Use the property to get a collection of all client operations for this client that you can use to attach extension objects that inspect or modify messages and behavior scoped to a particular operation. For details, see .

  Gets a collection of client operations for a client.

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

  Use the property to modify the selection of an operation when a client invokes a particular method. The default algorithm is to use the name of the of the operation method as a key to find the in the collection. If no matching object is found, the invocation is dispatched to the object returned from the property.

  Gets or sets an implementation that can be used to select a .

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

  Gets the client operation for methods that do not have a corresponding in the collection.

- Property
  4.0.0.0
  System.Boolean To be added.

  Use the property to turn off the enforced validation of arriving message headers. In normal execution, message headers are compared against the property to confirm that arriving headers are explicitly handled by the service. Set this to false to disable this checking. When set to false, the application must check for headers marked with MustUnderstand="true" and return a fault if one or more of them were not understood. This is useful when the application is supposed to accept any returned SOAP messages (for example, when using typed or untyped messages) and perform custom header processing.

  Gets or sets a value that specifies whether the system or the application enforces SOAP MustUnderstand header processing.

- Property
  4.0.0.0
  System.Uri To be added.

  Set the property to specify a transport address for messages when the immediate destination of messages is not the client's . This enables you to specify SOAP intermediaries and handle scenarios in which the value of the property of the client is a logical name.

  It is this value that the sets from a configuration file.

  Gets or sets the transport address that is used to send messages through the client.