Edytuj

Udostępnij za pośrednictwem


TransactionFlowAttribute.IOperationBehavior.ApplyDispatchBehavior Method

Definition

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

 virtual void System.ServiceModel.Description.IOperationBehavior.ApplyDispatchBehavior(System::ServiceModel::Description::OperationDescription ^ description, System::ServiceModel::Dispatcher::DispatchOperation ^ dispatch) = System::ServiceModel::Description::IOperationBehavior::ApplyDispatchBehavior;
void IOperationBehavior.ApplyDispatchBehavior (System.ServiceModel.Description.OperationDescription description, System.ServiceModel.Dispatcher.DispatchOperation dispatch);
abstract member System.ServiceModel.Description.IOperationBehavior.ApplyDispatchBehavior : System.ServiceModel.Description.OperationDescription * System.ServiceModel.Dispatcher.DispatchOperation -> unit
override this.System.ServiceModel.Description.IOperationBehavior.ApplyDispatchBehavior : System.ServiceModel.Description.OperationDescription * System.ServiceModel.Dispatcher.DispatchOperation -> unit
Sub ApplyDispatchBehavior (description As OperationDescription, dispatch As DispatchOperation) Implements IOperationBehavior.ApplyDispatchBehavior

Parameters

description
OperationDescription

The description for this operation.

dispatch
DispatchOperation

The DispatchOperation object for this operation.

Implements

Remarks

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.

Applies to