EndpointAddress.NoneUri プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
メッセージを送信してはならないエンドポイントのアドレスに使用されるバージョンに依存しない URI を取得します。
public:
static property Uri ^ NoneUri { Uri ^ get(); };
public static Uri NoneUri { get; }
static member NoneUri : Uri
Public Shared ReadOnly Property NoneUri As Uri
プロパティ値
値がhttp://schemas.microsoft.com/2005/12/ServiceModel/Addressing/NoneされたUri。
例
EndpointIdentity endpointIdentity =
EndpointIdentity.CreateUpnIdentity(WindowsIdentity.GetCurrent().Name);
EndpointAddress endpointAddress = new EndpointAddress(
new Uri
("http://localhost:8003/servicemodelsamples/service/incode/identity"),
endpointIdentity, addressHeaders);
Uri nonUri = EndpointAddress.NoneUri;
注釈
コンストラクターの初期化に使用される URI の値が NoneUriの場合、 IsNone は true に設定されます。