NetMsmqBinding.Security 속성

정의

이 바인딩과 연결된 값을 가져오거나 설정합니다 NetMsmqSecurity .

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

속성 값

NetMsmqSecurity 바인딩과 연결된 값입니다.

예제

다음 코드는 개체를 가져오는 NetMsmqSecurity 방법을 보여줍니다.

NetMsmqBinding binding = new NetMsmqBinding();
    NetMsmqSecurity security = binding.Security;

설명

NetMsmqSecurity 는 MSMQ(메시지 큐) 전송과 SOAP 보안을 모두 캡슐화한 것입니다. 전송 또는 SOAP 보안을 사용할지 여부와 사용 중인 인증 모드 및 보호 수준을 지정합니다.

적용 대상