WSHttpSecurity.Message WSHttpSecurity.Message WSHttpSecurity.Message WSHttpSecurity.Message Property

Definition

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 System.ServiceModel.NonDualMessageSecurityOverHttp Message { get; set; }
member this.Message : System.ServiceModel.NonDualMessageSecurityOverHttp with get, set
Public Property Message As NonDualMessageSecurityOverHttp

Property Value

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