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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.