Udostępnij za pośrednictwem


MessageSecurityOverRelayOnewayElement.ClientCredentialType Property

Definition

Gets or sets from the configuration file the type of credential to be used when performing client authentication using message-based security or TransportWithMessageCredential.

[System.Configuration.ConfigurationProperty("clientCredentialType", DefaultValue=System.ServiceModel.MessageCredentialType.Certificate)]
public System.ServiceModel.MessageCredentialType ClientCredentialType { get; set; }
[<System.Configuration.ConfigurationProperty("clientCredentialType", DefaultValue=System.ServiceModel.MessageCredentialType.Certificate)>]
member this.ClientCredentialType : System.ServiceModel.MessageCredentialType with get, set
Public Property ClientCredentialType As MessageCredentialType

Property Value

Returns a MessageCredentialType that contains the message credential type. The default is Windows.

Attributes

Applies to