MsmqIntegrationBinding Constructor (MsmqIntegrationSecurityMode)

MsmqIntegrationBinding Constructor (MsmqIntegrationSecurityMode)


Initializes a new instance of the MsmqIntegrationBinding class by using the specified MsmqIntegrationSecurityMode.

Namespace:   System.ServiceModel.MsmqIntegration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public MsmqIntegrationBinding(
	MsmqIntegrationSecurityMode securityMode


Type: System.ServiceModel.MsmqIntegration.MsmqIntegrationSecurityMode

The security mode supported by the Message Queuing (MSMQ) integration channel

Exception Condition

The value is not within the range of MsmqIntegrationSecurityMode values.

This method enables you to instantiate a new instance of the MsmqIntegrationBinding and pass in a security mode.

The following code illustrates how to instantiate an instance of the MsmqIntegrationBinding binding, specifying the MsmqIntegrationSecurityMode:

MsmqIntegrationBinding binding = new MsmqIntegrationBinding(MsmqIntegrationSecurityMode.Transport);

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft