WSDualHttpSecurity.Message WSDualHttpSecurity.Message WSDualHttpSecurity.Message WSDualHttpSecurity.Message Property

Définition

Obtient les propriétés de sécurité au niveau du message pour la WSDualHttpBinding.Gets the message-level security properties for the WSDualHttpBinding.

public:
 property System::ServiceModel::MessageSecurityOverHttp ^ Message { System::ServiceModel::MessageSecurityOverHttp ^ get(); void set(System::ServiceModel::MessageSecurityOverHttp ^ value); };
public System.ServiceModel.MessageSecurityOverHttp Message { get; set; }
member this.Message : System.ServiceModel.MessageSecurityOverHttp with get, set
Public Property Message As MessageSecurityOverHttp

Valeur de propriété

Exemples

Le code suivant montre comment définir la propriété AlgorithmSuite en accédant à cette propriété.The following code shows how to set the AlgorithmSuite property by accessing this property.

WSDualHttpBinding binding3 = new WSDualHttpBinding();
binding3.Security.Mode = WSDualHttpSecurityMode.None;
binding3.Security.Message.AlgorithmSuite = SecurityAlgorithmSuite.Basic256;
binding3.MessageEncoding = WSMessageEncoding.Mtom;
Dim binding3 As New WSDualHttpBinding()
binding3.Security.Mode = WSDualHttpSecurityMode.None
binding3.Security.Message.AlgorithmSuite = SecurityAlgorithmSuite.Basic256
binding3.MessageEncoding = WSMessageEncoding.Mtom

Remarques

L’objet retourné détaille les propriétés de sécurité au niveau du message pour la liaison wsDualHttpBinding.The object returned specifies detailed message-level security properties for the wsDualHttpBinding binding.

S’applique à