TransactionFlowAttribute::IOperationBehavior::ApplyDispatchBehavior Method (OperationDescription^, DispatchOperation^)

 

Attaches the attribute functionality to the DispatchOperation object for the method that the attribute marks. This method cannot be inherited.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

private:
virtual void ApplyDispatchBehavior(
	OperationDescription^ description,
	DispatchOperation^ dispatch
) sealed = IOperationBehavior::ApplyDispatchBehavior

Parameters

description
Type: System.ServiceModel.Description::OperationDescription^

The description for this operation.

dispatch
Type: System.ServiceModel.Dispatcher::DispatchOperation^

The DispatchOperation object for this operation.

This method allows you to view, modify, or add custom extensions to the client runtime across all messages, or for a specific operation. Note that in the case of the TransactionFlowAttribute, the implementation of this method is empty. This method is called internally by the infrastructure when a service is created.

.NET Framework
Available since 3.0
Return to top
Show: