Export (0) Print
Expand All

<security> of <netMsmqBinding>

Defines the security settings for a MSMQ binding. It specifies whether transport or SOAP security is enabled and, if so, what authentication mode and protection levels are in use.

<security mode="None/Transport/Message/Both">
   <transport msmqAuthenticationMode="None/WindowsDomain/Certificate"
      msmqSecureHashAlgorithm="MD5/SHA1/SHA256/SHA512" />

The following sections describe attributes, child elements, and parent elements.


Attribute Description


Specifies the type of security that controls integrity, confidentiality and authentication. Valid values include the following:

  • None: This disables security.

  • Transport: Protection and authentication are offered by the transport. This applies to the message security between the two queue managers. There is no security offered between the application and queue manager. Existing Msmq applications are functionally equivalent with this type of security mode.

  • Message: Specifies end-end application security. There is no security offered at the transport layer. This is similar to the security offered by other standard bindings.

  • Both: Offers security at both the transport and SOAP messaging layer. The same credential is required at both the levels.

The default value is Transport. This attribute is of type NetMsmqSecurityMode.

Child Elements

Element Description

<message> of <netMsmqBinding>

Defines the SOAP message security settings. This element is of type MessageSecurityOverMsmqElement.

<transport> of <netMsmqBinding>

Defines the security settings for the MSMQ transport. This element is of type MsmqTransportSecurityElement.

Parent Elements

Element Description


The binding element of the <netMsmqBinding>

© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05

Community Additions

© 2015 Microsoft