DotNetCompression Class Reference for Windows Phone
PlugIn(Binding) Method






The binding to be used as source for the new CustomBinding, which will have this binding element plugged into it.
Creates a new CustomBinding based on the specified source Binding object, with this binding element plugged in place of the MessageEncodingBindingElement used by the source Binding.
Syntax
'Declaration
 
Public Overloads Function PlugIn( _
   ByVal sourceBinding As System.ServiceModel.Channels.Binding _
) As System.ServiceModel.Channels.CustomBinding
'Usage
 
Dim instance As PluggableMessageEncodingBindingElement
Dim sourceBinding As System.ServiceModel.Channels.Binding
Dim value As System.ServiceModel.Channels.CustomBinding
 
value = instance.PlugIn(sourceBinding)
public System.ServiceModel.Channels.CustomBinding PlugIn( 
   System.ServiceModel.Channels.Binding sourceBinding
)
public function PlugIn( 
    sourceBinding: System.ServiceModel.Channels.Binding
): System.ServiceModel.Channels.CustomBinding; 
public function PlugIn( 
   sourceBinding : System.ServiceModel.Channels.Binding
) : System.ServiceModel.Channels.CustomBinding;
public: System.ServiceModel.Channels.CustomBinding* PlugIn( 
   System.ServiceModel.Channels.Binding* sourceBinding
) 
public:
System.ServiceModel.Channels.CustomBinding^ PlugIn( 
   System.ServiceModel.Channels.Binding^ sourceBinding
) 

Parameters

sourceBinding
The binding to be used as source for the new CustomBinding, which will have 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

PluggableMessageEncodingBindingElement Class
PluggableMessageEncodingBindingElement Members
Overload List

Send Feedback