EndpointAddress.Identity Propiedad

Definición

Obtiene la identidad del extremo utilizado para autenticarlo.Gets the identity for the endpoint used to authenticate it.

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

Valor de propiedad

EndpointIdentity

EndpointIdentity para el extremo.The EndpointIdentity for the endpoint.

Ejemplos

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;

Comentarios

Proporciona una identidad que habilita la autenticación de un punto de conexión por parte de otros puntos de conexión que intercambian mensajes con él.Provides an identity that enables the authentication of an endpoint by other endpoints that exchange messages with it.

Se aplica a