Used to modify or extend the execution behavior of a specific service operation in a service endpoint. This class cannot be inherited.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
|DispatchOperation(DispatchRuntime, String, String)|
Initializes a new instance of theclass using the specified dispatch run-time, name, and action values.
|DispatchOperation(DispatchRuntime, String, String, String)|
Initializes a new instance of theclass using the specified dispatch run-time, name, action, and reply action values.
Gets the value of the action for this operation.
Gets or sets whether parameters are to be automatically disposed.
A collection of System.ServiceModel.Dispatcher.ICallContextInitializer objects that defines the methods that enable the initialization and recycling of thread-local storage with the thread that invokes user code.
Gets or sets a value that indicates whether the Formatter property value is used to deserialize the request message.
Gets a collection of FaultContractInfo objects that represent the specified SOAP faults for this operation.
Gets or sets the formatter that deserializes messages into objects and serializes objects into messages.
Gets or sets a value that indicates the degree to which the operation requires impersonation.
Gets or sets the IOperationInvoker object that invokes the user-defined method.
Gets or sets whether the scope of the operation is inside a transacted receive activity.
Gets a value that indicates if the operation is a one-way operation.
Gets or sets a value that indicates if this operation is the last one in a session.
Gets the name of the operation.
Gets or sets a collection of IParameterInspector objects that can inspect and modify inbound and outbound objects for a particular proxy method.
Gets the associated DispatchRuntime object.
Gets or sets a value that specifies whether to recycle the service object after a call.
Gets or sets a value that specifies whether to recycle the service object prior to dispatching the call.
Gets the action of the reply message for the operation.
Gets or sets a value that specifies whether the Formatter object serializes reply messages.
Gets or sets a value that specifies whether the current transaction automatically completes when the operation returns successfully.
Gets or sets a value that specifies whether the operation must execute within a transaction.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
The DispatchRuntime class.)class is the location for run-time modifications and insertion point for custom extensions that are scoped to only one service operation. (To modify service run-time behavior for all messages in a contract, use the
Installmodifications using a custom operation behavior object or a behavior at a larger scope in order to modify operations across a contract.
Use the Operations property to locate the object that represents a particular service operation.
The Impersonation property specifies the operation impersonation level.
The AutoDisposeParameters property controls whether parameter objects are disposed when the service operation is completed.
The Invoker property to insert a custom invoker object.
The ParameterInspectors property enables you to insert a custom parameter inspector that you can use to inspect or modify parameters and return values.
Available since 4.5
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 4.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.