NetMsmqSecurity.Mode 속성

정의

NetMsmqSecurityMode 바인딩과 연결된 NetMsmqBinding를 가져오거나 설정합니다.

public:
 property System::ServiceModel::NetMsmqSecurityMode Mode { System::ServiceModel::NetMsmqSecurityMode get(); void set(System::ServiceModel::NetMsmqSecurityMode value); };
public System.ServiceModel.NetMsmqSecurityMode Mode { get; set; }
member this.Mode : System.ServiceModel.NetMsmqSecurityMode with get, set
Public Property Mode As NetMsmqSecurityMode

속성 값

NetMsmqSecurityMode

NetMsmqSecurityMode 바인딩과 연결된 NetMsmqBinding입니다.

예외

값이 NetMsmqSecurityMode 값 중 하나가 아닌 경우

예제

NetMsmqSecurityMode secMode = security.Mode;
Dim secMode = security.Mode

설명

이 속성은 연결된 NetMsmqBinding에서 사용하는 보안 형식을 결정합니다. 다음 목록에서는 허용되는 값에 대해 설명합니다.

  • None -보안이 사용 됩니다.

  • 전송 -전송 보안이 사용 됩니다.

  • 메시지 -메시지 기반 보안이 사용 됩니다.

  • 둘 다 -메시지 기반 보안과 전송 보안이 모두 사용 됩니다.

적용 대상