EndpointAddress.Identity プロパティ

定義

認証に使用するエンドポイントの ID を取得します。

public:
 property System::ServiceModel::EndpointIdentity ^ Identity { System::ServiceModel::EndpointIdentity ^ get(); };
public System.ServiceModel.EndpointIdentity Identity { get; }
member this.Identity : System.ServiceModel.EndpointIdentity
Public ReadOnly Property Identity As EndpointIdentity

プロパティ値

エンドポイントの EndpointIdentity

EndpointIdentity endpointIdentity =
    EndpointIdentity.CreateUpnIdentity(WindowsIdentity.GetCurrent().Name);
EndpointAddress endpointAddress = new EndpointAddress(
    new Uri
    ("http://localhost:8003/servicemodelsamples/service/incode/identity"),
    endpointIdentity, addressHeaders);

EndpointIdentity identity = endpointAddress.Identity;

注釈

メッセージを交換する他のエンドポイントによるエンドポイントの認証を有効にする ID を提供します。

適用対象