The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ClientCredentials Constructor (ClientCredentials^)
.NET Framework (current version)
This is a copy constructor.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- other
-
Type:
System.ServiceModel.Description::ClientCredentials^
A ClientCredentials. All properties of the newly-constructed instance reflect the values of this parameter.
The most common way to use this class is to access its properties from the client object and not to instantiate it directly. The following code shows how to do this.
WSHttpBinding b = new WSHttpBinding(); EndpointAddress ea = new EndpointAddress("http://localhost/Calculator"); CalculatorClient client = new CalculatorClient(b, ea); IssuedTokenClientCredential itcc = client.ClientCredentials.IssuedToken; itcc.LocalIssuerAddress = new EndpointAddress("http://fabrikam.com/sts");
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Show: