TcpTransportBindingElement.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

屬性值

String

傳回用於傳輸的 URI 配置,即 "net.tcp"。

範例

下列範例將示範如何取得用於傳輸的 URI 配置。

string scheme = bElement.Scheme;

備註

提供這個屬性的目的是要針對基底位址驗證繫結。

適用於