BasicHttpBinding.Scheme 속성

정의

이 바인딩으로 구성된 채널 및 수신기에 대한 URI 전송 체계를 가져옵니다.

public:
 virtual property System::String ^ Scheme { System::String ^ get(); };
public override string Scheme { get; }
member this.Scheme : string
Public Overrides ReadOnly Property Scheme As String

속성 값

전송 바인딩 요소의 보안 모드가 로 설정된 TransportTransportWithMessageCredential경우 "https"입니다. 그렇지 않으면 "http"입니다.

예제

다음 예제에서는 현재 체계를 가져옵니다.

BasicHttpBinding binding = new BasicHttpBinding();
string thisScheme = binding.Scheme;

적용 대상