EndpointAddressBuilder.Identity 属性

定义

获取或设置生成器可以创建的终结点的标识。

public:
 property System::ServiceModel::EndpointIdentity ^ Identity { System::ServiceModel::EndpointIdentity ^ get(); void set(System::ServiceModel::EndpointIdentity ^ value); };
public System.ServiceModel.EndpointIdentity Identity { get; set; }
member this.Identity : System.ServiceModel.EndpointIdentity with get, set
Public Property Identity As EndpointIdentity

属性值

EndpointIdentity

终结点的 EndpointIdentity

示例

eab.Identity = EndpointIdentity.CreateUpnIdentity("identity");
eab.Identity = EndpointIdentity.CreateUpnIdentity("foo")

注解

标识由终结点用于在与其他终结点交换消息时对它们进行身份验证。

适用于