MessageSecurityOverHttp.ClientCredentialType MessageSecurityOverHttp.ClientCredentialType MessageSecurityOverHttp.ClientCredentialType MessageSecurityOverHttp.ClientCredentialType Property

Definición

Especifica el tipo de credencial de cliente utilizada para la autenticación de cliente en los enlaces wsHttpBinding o wsDualHttpBinding.Specifies the type of client credential used for client authentication in the wsHttpBinding or wsDualHttpBinding bindings.

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

Valor de propiedad

Excepciones

Ejemplos

El código siguiente define esta propiedad.The following code sets this property.

WSHttpBinding myBinding = new WSHttpBinding();
myBinding.Security.Mode = SecurityMode.Message;
myBinding.Security.Message.ClientCredentialType =
    MessageCredentialType.Windows;

Comentarios

Esta propiedad se utiliza para establecer MessageCredentialType que se utiliza para autenticar al autor de la llamada en el servicio.This property is used to set the MessageCredentialType that is used to authenticate the caller at the service. Los tipos válidos son:Valid types are:

Se aplica a