MessageSecurityOverTcp::ClientCredentialType Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies the type of client credential the client uses to authenticate itself to the service at the SOAP level.

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

public:
property MessageCredentialType ClientCredentialType {
	MessageCredentialType get();
	void set(MessageCredentialType value);
}

Exception Condition
ArgumentOutOfRangeException

The value of ClientCredentialType is not a valid MessageCredentialType.

The return value can be one of the following enumeration members:

The following code shows how to access and set this property.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Return to top
Show: