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
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา