PeerTransportSecuritySettings.CredentialType Property

 

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

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public PeerTransportCredentialType CredentialType { get; set; }

Property Value

Type: System.ServiceModel.PeerTransportCredentialType

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

Exception Condition
InvalidEnumArgumentException

The credential type is an invalid PeerTransportCredentialType enumeration value.

.NET Framework
Available since 3.0
Return to top
Show: