WCF-Xtensions Class Reference for Mono
PlugIn(Binding) Method






The target binding to use as source to create the resulting CustomBinding.
Creates a new CustomBinding based on the specified source Binding, with this binding element plugged into the collection of binding elements.
Syntax
'Declaration
 
Public Overloads Function PlugIn( _
   ByVal targetBinding As System.ServiceModel.Channels.Binding _
) As System.ServiceModel.Channels.CustomBinding
'Usage
 
Dim instance As MessageStatisticsBindingElement
Dim targetBinding As System.ServiceModel.Channels.Binding
Dim value As System.ServiceModel.Channels.CustomBinding
 
value = instance.PlugIn(targetBinding)
public System.ServiceModel.Channels.CustomBinding PlugIn( 
   System.ServiceModel.Channels.Binding targetBinding
)
public function PlugIn( 
    targetBinding: System.ServiceModel.Channels.Binding
): System.ServiceModel.Channels.CustomBinding; 
public function PlugIn( 
   targetBinding : System.ServiceModel.Channels.Binding
) : System.ServiceModel.Channels.CustomBinding;
public: System.ServiceModel.Channels.CustomBinding* PlugIn( 
   System.ServiceModel.Channels.Binding* targetBinding
) 
public:
System.ServiceModel.Channels.CustomBinding^ PlugIn( 
   System.ServiceModel.Channels.Binding^ targetBinding
) 

Parameters

targetBinding
The target binding to use as source to create the resulting CustomBinding.

Return Value

The CustomBinding based on the source Binding with this binding element plugged into it.
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

MessageStatisticsBindingElement Class
MessageStatisticsBindingElement Members
Overload List

Send Feedback