편집

다음을 통해 공유


NetMsmqSecurity.Message Property

Definition

Gets or sets the MessageSecurityOverMsmq that is associated with the NetMsmqBinding binding.

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

Property Value

The MessageSecurityOverMsmq that is associated with the NetMsmqBinding binding.

Examples

MessageSecurityOverMsmq msgSecurity = security.Message;
Dim msgSecurity = security.Message

Remarks

The MessageSecurityOverMsmq encapsulates the SOAP message security settings.

Applies to