TransactionFlowAttribute.IOperationBehavior.ApplyClientBehavior Method

Definition

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

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

Parameters

description
OperationDescription

The operation to which the attribute attaches functionality.

proxy
ClientOperation

The ClientOperation object that represents the current 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 proxy is created.

Applies to