WCF-Xtensions Class Reference for Mono
CreateClientBehavior Method






The operation to which the behavior will be associated.
Initializes a new instance of EnvelopeBehavior for associated operation on the client side.
Syntax
'Declaration
 
Public Shared Function CreateClientBehavior( _
   ByVal operation As System.ServiceModel.Description.OperationDescription _
) As EnvelopeBehavior
'Usage
 
Dim operation As System.ServiceModel.Description.OperationDescription
Dim value As EnvelopeBehavior
 
value = EnvelopeBehavior.CreateClientBehavior(operation)
public static EnvelopeBehavior CreateClientBehavior( 
   System.ServiceModel.Description.OperationDescription operation
)
public function CreateClientBehavior( 
    operation: System.ServiceModel.Description.OperationDescription
): EnvelopeBehavior; static; 
public static function CreateClientBehavior( 
   operation : System.ServiceModel.Description.OperationDescription
) : EnvelopeBehavior;
public: static EnvelopeBehavior* CreateClientBehavior( 
   System.ServiceModel.Description.OperationDescription* operation
) 
public:
static EnvelopeBehavior^ CreateClientBehavior( 
   System.ServiceModel.Description.OperationDescription^ operation
) 

Parameters

operation
The operation to which the behavior will be associated.

Return Value

A new instance of EnvelopeBehavior.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EnvelopeBehavior Class
EnvelopeBehavior Members

Send Feedback