MsmqTransportBindingElement.Scheme 屬性

定義

傳回 String,其中包含這個傳輸繫結項目所使用的定址配置。

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

String,其中包含這個傳輸繫結項目所使用的定址配置。

範例

MsmqTransportBindingElement transportBindingElement = new MsmqTransportBindingElement();
string scheme = transportBindingElement.Scheme;

備註

Scheme 屬性會傳回 "net.msmq" 這個字串。

訊息佇列 (MSMQ) 佇列傳輸支援數個定址配置,包括 net.msmq。

適用於