Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.

NetMsmqSecurityMode-Enumeration

The NetMsmqSecurityMode enumeration specifies security modes that can be used by the MSMQ transport.

Namespace: System.ServiceModel
Assembly: System.ServiceModel (in system.servicemodel.dll)

public enum NetMsmqSecurityMode
public enum NetMsmqSecurityMode
public enum NetMsmqSecurityMode

 MembernameBeschreibung
BothEnables both MSMQ transport security and SOAP security. 
MessageEnables SOAP security. 
NoneDisables both MSMQ transport security and SOAP security. 
TransportEnables MSMQ transport security. 

MSMQ transport security secures messages using MSMQ. SOAP security secures messages using the WS-* security protocols. This property determines the mechanisms by which transfer security functions (such as integrity, confidentiality and authentication) are obtained.

The following code shows how to specify the security mode for a NetMsmqBinding binding.

NetMsmqBinding binding = new NetMsmqBinding(NetMsmqSecurityMode.Message);

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

Microsoft .NET Framework 3.0 wird unter Windows Vista, Microsoft Windows XP SP2 und Windows Server 2003 SP1 unterstützt.

.NET Framework

Unterstützt in: 3.0
Anzeigen: