TransactionFlowAttribute::IOperationBehavior::ApplyClientBehavior Method (OperationDescription^, ClientOperation^)

 

Attaches the attribute functionality to the ProxyOperation 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 ApplyClientBehavior(
	OperationDescription^ description,
	ClientOperation^ proxy
) sealed = IOperationBehavior::ApplyClientBehavior

Parameters

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

The operation to which the attribute attaches functionality.

proxy
Type: System.ServiceModel.Dispatcher::ClientOperation^

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

.NET Framework
Available since 3.0
Return to top
Show: