WSHttpSecurity.Message Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the message-level security settings for this binding.
public:
property System::ServiceModel::NonDualMessageSecurityOverHttp ^ Message { System::ServiceModel::NonDualMessageSecurityOverHttp ^ get(); void set(System::ServiceModel::NonDualMessageSecurityOverHttp ^ value); };
public:
property System::ServiceModel::NonDualMessageSecurityOverHttp ^ Message { System::ServiceModel::NonDualMessageSecurityOverHttp ^ get(); };
public System.ServiceModel.NonDualMessageSecurityOverHttp Message { get; set; }
public System.ServiceModel.NonDualMessageSecurityOverHttp Message { get; }
member this.Message : System.ServiceModel.NonDualMessageSecurityOverHttp with get, set
member this.Message : System.ServiceModel.NonDualMessageSecurityOverHttp
Public Property Message As NonDualMessageSecurityOverHttp
Public ReadOnly Property Message As NonDualMessageSecurityOverHttp
Property Value
The message-level security settings for this binding.
The default value includes: EstablishSecurityContext with default set to true
, ClientCredentialType is Windows, AlgorithmSuite is Basic256, and NegotiateServiceCredential is true
.
Examples
The following code illustrates use of this property.
WSHttpBinding myBinding = new WSHttpBinding();
myBinding.Security.Mode = SecurityMode.Message;
myBinding.Security.Message.ClientCredentialType =
MessageCredentialType.Windows;
Applies to
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.