EndpointAddressBuilder.Identity Property

Definition

Gets or sets the identity for the endpoints that the builder can create.

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

Property Value

The EndpointIdentity for the endpoint.

Examples

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

Remarks

The identity is used by an endpoint to authenticate other endpoints when exchanging messages with them.

Applies to