Edit

Share via


PeerTransportSecuritySettings.CredentialType Property

Definition

Gets or sets the type of credential used to authenticate the peer channel transport.

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

Property Value

A PeerTransportCredentialType enumeration value that specifies the type of credentials to provide for authentication.

Exceptions

The credential type is an invalid PeerTransportCredentialType enumeration value.

Applies to