Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
908 lines (824 sloc) 68.2 KB
<Type Name="ClientCredentials" FullName="System.ServiceModel.Description.ClientCredentials">
<TypeSignature Language="C#" Value="public class ClientCredentials : System.ServiceModel.Description.IEndpointBehavior" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit ClientCredentials extends System.Object implements class System.ServiceModel.Description.IEndpointBehavior" />
<TypeSignature Language="DocId" Value="T:System.ServiceModel.Description.ClientCredentials" />
<TypeSignature Language="VB.NET" Value="Public Class ClientCredentials&#xA;Implements IEndpointBehavior" />
<TypeSignature Language="C++ CLI" Value="public ref class ClientCredentials : System::ServiceModel::Description::IEndpointBehavior" />
<TypeSignature Language="F#" Value="type ClientCredentials = class&#xA; interface IEndpointBehavior" />
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.5.0.1</AssemblyVersion>
<AssemblyVersion>4.5.0.3</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.ServiceModel.Security.SecurityCredentialsManager</BaseTypeName>
<BaseTypeName FrameworkAlternate="xamarinandroid-7.1">System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.ServiceModel.Description.IEndpointBehavior</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<summary>Enables the user to configure client and service credentials as well as service credential authentication settings for use on the client side of communication.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.ServiceModel.Description.ClientCredentials> is accessed through the <xref:System.ServiceModel.ClientBase%601.ClientCredentials%2A> property of the <xref:System.ServiceModel.ClientBase%601> class.
A <xref:System.ServiceModel.Description.ClientCredentials> object is added to the <xref:System.ServiceModel.Description.ServiceEndpoint.Behaviors%2A> collection. The <xref:System.ServiceModel.ClientBase%601.ClientCredentials%2A> property is a *Façade* (a well-known design pattern) over an entry in that collection. Many properties in this class return objects that consist mainly of properties. These objects can be used for configuration: once you `get` the object, you can use it to `set` properties by calling its members.
## Examples
The following code sample shows how to override this class and implement your own custom client credentials that includes a custom security token manager.
> [!IMPORTANT]
> It is important to note that the <xref:System.ServiceModel.Security.SecurityCredentialsManager.CreateSecurityTokenManager%2A> method is overridden to create a custom security token manager. The security token manager, derived from <xref:System.ServiceModel.ClientCredentialsSecurityTokenManager>. must return a custom security token provider, derived from <xref:System.IdentityModel.Selectors.SecurityTokenProvider>, to create the actual security token. If you do not follow this pattern for creating security tokens, your application will be at risk for security attacks, specifically elevation of privileges. This coding pattern ensures that the correct credentials are used when channel factories are cached.
[!code-csharp[c_CustomCredentials#1](~/samples/snippets/csharp/VS_Snippets_CFX/c_customcredentials/cs/source.cs#1)]
[!code-vb[c_CustomCredentials#1](~/samples/snippets/visualbasic/VS_Snippets_CFX/c_customcredentials/vb/client/client.vb#1)]
]]></format>
</remarks>
</Docs>
<Members>
<MemberGroup MemberName=".ctor">
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.ServiceModel.Description.ClientCredentials" /> class.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
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.
[!code-csharp[c_CreateSTS#31](~/samples/snippets/csharp/VS_Snippets_CFX/c_creatests/cs/source.cs#31)]
]]></format>
</remarks>
</Docs>
</MemberGroup>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ClientCredentials ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Description.ClientCredentials.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; ClientCredentials();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.5.0.1</AssemblyVersion>
<AssemblyVersion>4.5.0.3</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.ServiceModel.Description.ClientCredentials" /> class.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This constructor creates a <xref:System.ServiceModel.Description.ClientCredentials> object with default settings, for example, <xref:System.ServiceModel.Description.ClientCredentials.SupportInteractive%2A> = `true`.
## Examples
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.
[!code-csharp[c_CreateSTS#31](~/samples/snippets/csharp/VS_Snippets_CFX/c_creatests/cs/source.cs#31)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected ClientCredentials (System.ServiceModel.Description.ClientCredentials other);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(class System.ServiceModel.Description.ClientCredentials other) cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Description.ClientCredentials.#ctor(System.ServiceModel.Description.ClientCredentials)" />
<MemberSignature Language="VB.NET" Value="Protected Sub New (other As ClientCredentials)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; ClientCredentials(System::ServiceModel::Description::ClientCredentials ^ other);" />
<MemberSignature Language="F#" Value="new System.ServiceModel.Description.ClientCredentials : System.ServiceModel.Description.ClientCredentials -&gt; System.ServiceModel.Description.ClientCredentials" Usage="new System.ServiceModel.Description.ClientCredentials other" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.5.0.1</AssemblyVersion>
<AssemblyVersion>4.5.0.3</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="other" Type="System.ServiceModel.Description.ClientCredentials" />
</Parameters>
<Docs>
<param name="other">A <see cref="T:System.ServiceModel.Description.ClientCredentials" />. All properties of the newly-constructed instance reflect the values of this parameter.</param>
<summary>This is a copy constructor.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
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.
[!code-csharp[c_CreateSTS#31](~/samples/snippets/csharp/VS_Snippets_CFX/c_creatests/cs/source.cs#31)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="ApplyClientBehavior">
<MemberSignature Language="C#" Value="public virtual void ApplyClientBehavior (System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Dispatcher.ClientRuntime behavior);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void ApplyClientBehavior(class System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, class System.ServiceModel.Dispatcher.ClientRuntime behavior) cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Description.ClientCredentials.ApplyClientBehavior(System.ServiceModel.Description.ServiceEndpoint,System.ServiceModel.Dispatcher.ClientRuntime)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void ApplyClientBehavior(System::ServiceModel::Description::ServiceEndpoint ^ serviceEndpoint, System::ServiceModel::Dispatcher::ClientRuntime ^ behavior);" />
<MemberSignature Language="F#" Value="abstract member ApplyClientBehavior : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.ClientRuntime -&gt; unit&#xA;override this.ApplyClientBehavior : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.ClientRuntime -&gt; unit" Usage="clientCredentials.ApplyClientBehavior (serviceEndpoint, behavior)" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.ServiceModel.Description.IEndpointBehavior.ApplyClientBehavior(System.ServiceModel.Description.ServiceEndpoint,System.ServiceModel.Dispatcher.ClientRuntime)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.5.0.1</AssemblyVersion>
<AssemblyVersion>4.5.0.3</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="serviceEndpoint" Type="System.ServiceModel.Description.ServiceEndpoint" />
<Parameter Name="behavior" Type="System.ServiceModel.Dispatcher.ClientRuntime" />
</Parameters>
<Docs>
<param name="serviceEndpoint">The endpoint to which the specified client behavior is to be applied.</param>
<param name="behavior">The client behavior that is to be applied to the specified endpoint.</param>
<summary>Applies the specified client behavior to the endpoint.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The client behavior is applied to the endpoint only if the endpoint does not have a <xref:System.ServiceModel.Channels.SecurityBindingElement> associated with it.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="serviceEndpoint" /> or <paramref name="behavior" /> is <see langword="null" />.</exception>
</Docs>
</Member>
<Member MemberName="ClientCertificate">
<MemberSignature Language="C#" Value="public System.ServiceModel.Security.X509CertificateInitiatorClientCredential ClientCertificate { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.ServiceModel.Security.X509CertificateInitiatorClientCredential ClientCertificate" />
<MemberSignature Language="DocId" Value="P:System.ServiceModel.Description.ClientCredentials.ClientCertificate" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property ClientCertificate As X509CertificateInitiatorClientCredential" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::ServiceModel::Security::X509CertificateInitiatorClientCredential ^ ClientCertificate { System::ServiceModel::Security::X509CertificateInitiatorClientCredential ^ get(); };" />
<MemberSignature Language="F#" Value="member this.ClientCertificate : System.ServiceModel.Security.X509CertificateInitiatorClientCredential" Usage="System.ServiceModel.Description.ClientCredentials.ClientCertificate" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Primitives</AssemblyName>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.5.0.1</AssemblyVersion>
<AssemblyVersion>4.5.0.3</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Security.X509CertificateInitiatorClientCredential</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets an object that you can use to provide the X.509 certificate that the client uses to authenticate to the service.</summary>
<value>An <see cref="T:System.ServiceModel.Security.X509CertificateInitiatorClientCredential" /> that represents the client certificate.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
You can also set this value using the [&lt;certificate&gt;](~/docs/framework/configure-apps/file-schema/wcf/certificate-of-clientcertificate-element.md) in a client application configuration file.
## Examples
The following code shows how you can use this property to configure the X.509 certificate.
[!code-csharp[S_UEClientCredentials#3](~/samples/snippets/csharp/VS_Snippets_CFX/s_ueclientcredentials/cs/program.cs#3)]
[!code-vb[S_UEClientCredentials#3](~/samples/snippets/visualbasic/VS_Snippets_CFX/s_ueclientcredentials/vb/program.vb#3)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Clone">
<MemberSignature Language="C#" Value="public System.ServiceModel.Description.ClientCredentials Clone ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.ServiceModel.Description.ClientCredentials Clone() cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Description.ClientCredentials.Clone" />
<MemberSignature Language="VB.NET" Value="Public Function Clone () As ClientCredentials" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; System::ServiceModel::Description::ClientCredentials ^ Clone();" />
<MemberSignature Language="F#" Value="member this.Clone : unit -&gt; System.ServiceModel.Description.ClientCredentials" Usage="clientCredentials.Clone " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.5.0.1</AssemblyVersion>
<AssemblyVersion>4.5.0.3</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Description.ClientCredentials</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates a new copy of this <see cref="T:System.ServiceModel.Description.ClientCredentials" /> instance.</summary>
<returns>A <see cref="T:System.ServiceModel.Description.ClientCredentials" /> instance.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CloneCore">
<MemberSignature Language="C#" Value="protected virtual System.ServiceModel.Description.ClientCredentials CloneCore ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance class System.ServiceModel.Description.ClientCredentials CloneCore() cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Description.ClientCredentials.CloneCore" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Function CloneCore () As ClientCredentials" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual System::ServiceModel::Description::ClientCredentials ^ CloneCore();" />
<MemberSignature Language="F#" Value="abstract member CloneCore : unit -&gt; System.ServiceModel.Description.ClientCredentials&#xA;override this.CloneCore : unit -&gt; System.ServiceModel.Description.ClientCredentials" Usage="clientCredentials.CloneCore " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.5.0.1</AssemblyVersion>
<AssemblyVersion>4.5.0.3</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Description.ClientCredentials</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates a new copy of this <see cref="T:System.ServiceModel.Description.ClientCredentials" /> instance.</summary>
<returns>A <see cref="T:System.ServiceModel.Description.ClientCredentials" /> instance.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.ServiceModel.Description.ClientCredentials.Clone%2A> and <xref:System.ServiceModel.Description.ClientCredentials.CloneCore%2A> methods follow the Core design pattern. <xref:System.ServiceModel.Description.ClientCredentials.CloneCore%2A> can be overridden in derived classes if they add new fields that must be cloned.
The <xref:System.ServiceModel.Description.ClientCredentials.CloneCore%2A> method calls the <xref:System.ServiceModel.Description.ClientCredentials.%23ctor%2A> constructor.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="CreateSecurityTokenManager">
<MemberSignature Language="C#" Value="public override System.IdentityModel.Selectors.SecurityTokenManager CreateSecurityTokenManager ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class System.IdentityModel.Selectors.SecurityTokenManager CreateSecurityTokenManager() cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Description.ClientCredentials.CreateSecurityTokenManager" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function CreateSecurityTokenManager () As SecurityTokenManager" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; override System::IdentityModel::Selectors::SecurityTokenManager ^ CreateSecurityTokenManager();" />
<MemberSignature Language="F#" Value="override this.CreateSecurityTokenManager : unit -&gt; System.IdentityModel.Selectors.SecurityTokenManager" Usage="clientCredentials.CreateSecurityTokenManager " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Primitives</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IdentityModel.Selectors.SecurityTokenManager</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates a security token manager for this instance. This method is rarely called explicitly; it is primarily used in extensibility scenarios and is called by the system itself.</summary>
<returns>A <see cref="T:System.ServiceModel.ClientCredentialsSecurityTokenManager" /> for this <see cref="T:System.ServiceModel.Description.ClientCredentials" /> instance.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is usually overridden by custom client credentials implementations that inherit from this class. This method is responsible for returning a new instance of a <xref:System.IdentityModel.Selectors.SecurityTokenManager> implementation.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="GetInfoCardSecurityToken">
<MemberSignature Language="C#" Value="protected internal virtual System.IdentityModel.Tokens.SecurityToken GetInfoCardSecurityToken (bool requiresInfoCard, System.IdentityModel.Selectors.CardSpacePolicyElement[] chain, System.IdentityModel.Selectors.SecurityTokenSerializer tokenSerializer);" />
<MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig newslot virtual instance class System.IdentityModel.Tokens.SecurityToken GetInfoCardSecurityToken(bool requiresInfoCard, class System.IdentityModel.Selectors.CardSpacePolicyElement[] chain, class System.IdentityModel.Selectors.SecurityTokenSerializer tokenSerializer) cil managed" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Description.ClientCredentials.GetInfoCardSecurityToken(System.Boolean,System.IdentityModel.Selectors.CardSpacePolicyElement[],System.IdentityModel.Selectors.SecurityTokenSerializer)" />
<MemberSignature Language="VB.NET" Value="Protected Friend Overridable Function GetInfoCardSecurityToken (requiresInfoCard As Boolean, chain As CardSpacePolicyElement(), tokenSerializer As SecurityTokenSerializer) As SecurityToken" />
<MemberSignature Language="C++ CLI" Value="protected public:&#xA; virtual System::IdentityModel::Tokens::SecurityToken ^ GetInfoCardSecurityToken(bool requiresInfoCard, cli::array &lt;System::IdentityModel::Selectors::CardSpacePolicyElement ^&gt; ^ chain, System::IdentityModel::Selectors::SecurityTokenSerializer ^ tokenSerializer);" />
<MemberSignature Language="F#" Value="abstract member GetInfoCardSecurityToken : bool * System.IdentityModel.Selectors.CardSpacePolicyElement[] * System.IdentityModel.Selectors.SecurityTokenSerializer -&gt; System.IdentityModel.Tokens.SecurityToken&#xA;override this.GetInfoCardSecurityToken : bool * System.IdentityModel.Selectors.CardSpacePolicyElement[] * System.IdentityModel.Selectors.SecurityTokenSerializer -&gt; System.IdentityModel.Tokens.SecurityToken" Usage="clientCredentials.GetInfoCardSecurityToken (requiresInfoCard, chain, tokenSerializer)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Primitives</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IdentityModel.Tokens.SecurityToken</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="requiresInfoCard" Type="System.Boolean" Index="0" FrameworkAlternate="netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="chain" Type="System.IdentityModel.Selectors.CardSpacePolicyElement[]" Index="1" FrameworkAlternate="netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="tokenSerializer" Type="System.IdentityModel.Selectors.SecurityTokenSerializer" Index="2" FrameworkAlternate="netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<param name="requiresInfoCard">A value that determines whether [!INCLUDE[infocard](~/includes/infocard-md.md)] is required.</param>
<param name="chain">An array of <see cref="T:System.IdentityModel.Selectors.CardSpacePolicyElement" /> that describes the federated security chain that the client requires a final token to unwind.</param>
<param name="tokenSerializer">A <see cref="T:System.IdentityModel.Selectors.SecurityTokenSerializer" /> that can read a <see langword="KeyInfo" /> clause.</param>
<summary>Generates and returns a security token using the [!INCLUDE[infocard](~/includes/infocard-md.md)] system and the specified policy chain and token serializer.</summary>
<returns>A <see cref="T:System.IdentityModel.Tokens.GenericXmlSecurityToken" /> that represents the generated security token. Returns <see langword="null" /> if <paramref name="requiresInfoCard" /> is <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="HttpDigest">
<MemberSignature Language="C#" Value="public System.ServiceModel.Security.HttpDigestClientCredential HttpDigest { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.ServiceModel.Security.HttpDigestClientCredential HttpDigest" />
<MemberSignature Language="DocId" Value="P:System.ServiceModel.Description.ClientCredentials.HttpDigest" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property HttpDigest As HttpDigestClientCredential" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::ServiceModel::Security::HttpDigestClientCredential ^ HttpDigest { System::ServiceModel::Security::HttpDigestClientCredential ^ get(); };" />
<MemberSignature Language="F#" Value="member this.HttpDigest : System.ServiceModel.Security.HttpDigestClientCredential" Usage="System.ServiceModel.Description.ClientCredentials.HttpDigest" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.5.0.1</AssemblyVersion>
<AssemblyVersion>4.5.0.3</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Security.HttpDigestClientCredential</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the current HTTP Digest credential.</summary>
<value>A <see cref="T:System.ServiceModel.Security.HttpDigestClientCredential" /> that represents the credential that the client uses to authenticate to the service when the HTTP Digest authentication method is chosen.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
You can use the object returned by this property to configure the credential by calling the <xref:System.ServiceModel.Security.HttpDigestClientCredential.AllowedImpersonationLevel%2A> property.
Similarly, you can specify the network credential to use if it is different from the current thread's token.
## Examples
The following code shows how to use this property to set the credentials user name and password.
[!code-csharp[S_UE_HttpDigestClientCredential#2](~/samples/snippets/csharp/VS_Snippets_CFX/s_ue_httpdigestclientcredential/cs/source.cs#2)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="IssuedToken">
<MemberSignature Language="C#" Value="public System.ServiceModel.Security.IssuedTokenClientCredential IssuedToken { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.ServiceModel.Security.IssuedTokenClientCredential IssuedToken" />
<MemberSignature Language="DocId" Value="P:System.ServiceModel.Description.ClientCredentials.IssuedToken" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property IssuedToken As IssuedTokenClientCredential" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::ServiceModel::Security::IssuedTokenClientCredential ^ IssuedToken { System::ServiceModel::Security::IssuedTokenClientCredential ^ get(); };" />
<MemberSignature Language="F#" Value="member this.IssuedToken : System.ServiceModel.Security.IssuedTokenClientCredential" Usage="System.ServiceModel.Description.ClientCredentials.IssuedToken" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Primitives</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Security.IssuedTokenClientCredential</ReturnType>
</ReturnValue>
<Docs>
<summary>Use this property to specify the endpoint address and binding to use when contacting your local Security Token Service. This information is used when a service requires authentication using an issued token, but the policy of the service (represented as a binding on the client) does not explicitly specify how and where to obtain the issued token.</summary>
<value>An <see cref="T:System.ServiceModel.Security.IssuedTokenClientCredential" /> that specifies parameters to be used to obtain a token from a local Security Token Service.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
You can use the object returned by this property to configure the settings of the local Security Token Service by calling its members.
## Examples
The following code shows how to get an instance of <xref:System.ServiceModel.Security.IssuedTokenClientCredential> by means of this property.
[!code-csharp[C_CreateSTS#9](~/samples/snippets/csharp/VS_Snippets_CFX/c_creatests/cs/source.cs#9)]
[!code-vb[C_CreateSTS#9](~/samples/snippets/visualbasic/VS_Snippets_CFX/c_creatests/vb/source.vb#9)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Peer">
<MemberSignature Language="C#" Value="public System.ServiceModel.Security.PeerCredential Peer { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.ServiceModel.Security.PeerCredential Peer" />
<MemberSignature Language="DocId" Value="P:System.ServiceModel.Description.ClientCredentials.Peer" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Peer As PeerCredential" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::ServiceModel::Security::PeerCredential ^ Peer { System::ServiceModel::Security::PeerCredential ^ get(); };" />
<MemberSignature Language="F#" Value="member this.Peer : System.ServiceModel.Security.PeerCredential" Usage="System.ServiceModel.Description.ClientCredentials.Peer" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Primitives</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Security.PeerCredential</ReturnType>
</ReturnValue>
<Docs>
<summary>Controls the credentials that a peer node uses to authenticate itself to other nodes in the mesh, as well as authentication settings that a peer node uses to authenticate other peer nodes.</summary>
<value>A <see cref="T:System.ServiceModel.Security.PeerCredential" /> that represents the current peer credential.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
You can use the object returned by this property to configure the credential by calling its members, such as <xref:System.ServiceModel.Security.PeerCredential.Certificate%2A>, <xref:System.ServiceModel.Security.PeerCredential.MeshPassword%2A>, <xref:System.ServiceModel.Security.PeerCredential.MessageSenderAuthentication%2A>, and <xref:System.ServiceModel.Security.PeerCredential.PeerAuthentication%2A>.
## Examples
The following code shows how to access this property.
[!code-csharp[c_CreateSTS#26](~/samples/snippets/csharp/VS_Snippets_CFX/c_creatests/cs/source.cs#26)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="SecurityTokenHandlerCollectionManager">
<MemberSignature Language="C#" Value="public System.IdentityModel.Tokens.SecurityTokenHandlerCollectionManager SecurityTokenHandlerCollectionManager { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.IdentityModel.Tokens.SecurityTokenHandlerCollectionManager SecurityTokenHandlerCollectionManager" />
<MemberSignature Language="DocId" Value="P:System.ServiceModel.Description.ClientCredentials.SecurityTokenHandlerCollectionManager" />
<MemberSignature Language="VB.NET" Value="Public Property SecurityTokenHandlerCollectionManager As SecurityTokenHandlerCollectionManager" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::IdentityModel::Tokens::SecurityTokenHandlerCollectionManager ^ SecurityTokenHandlerCollectionManager { System::IdentityModel::Tokens::SecurityTokenHandlerCollectionManager ^ get(); void set(System::IdentityModel::Tokens::SecurityTokenHandlerCollectionManager ^ value); };" />
<MemberSignature Language="F#" Value="member this.SecurityTokenHandlerCollectionManager : System.IdentityModel.Tokens.SecurityTokenHandlerCollectionManager with get, set" Usage="System.ServiceModel.Description.ClientCredentials.SecurityTokenHandlerCollectionManager" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Primitives</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IdentityModel.Tokens.SecurityTokenHandlerCollectionManager</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the security token handler for the client credential.</summary>
<value>The security token handler for the client credential.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ServiceCertificate">
<MemberSignature Language="C#" Value="public System.ServiceModel.Security.X509CertificateRecipientClientCredential ServiceCertificate { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.ServiceModel.Security.X509CertificateRecipientClientCredential ServiceCertificate" />
<MemberSignature Language="DocId" Value="P:System.ServiceModel.Description.ClientCredentials.ServiceCertificate" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property ServiceCertificate As X509CertificateRecipientClientCredential" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::ServiceModel::Security::X509CertificateRecipientClientCredential ^ ServiceCertificate { System::ServiceModel::Security::X509CertificateRecipientClientCredential ^ get(); };" />
<MemberSignature Language="F#" Value="member this.ServiceCertificate : System.ServiceModel.Security.X509CertificateRecipientClientCredential" Usage="System.ServiceModel.Description.ClientCredentials.ServiceCertificate" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Primitives</AssemblyName>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.5.0.1</AssemblyVersion>
<AssemblyVersion>4.5.0.3</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Security.X509CertificateRecipientClientCredential</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets an object used to specify a service's X.509 certificate.</summary>
<value>An <see cref="T:System.ServiceModel.Security.X509CertificateRecipientClientCredential" /> that represents the certificate to use for a particular service.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
You can use the object returned by this property to configure the certificate's properties by calling its members.
You can specify a single default certificate as well as a different certificate to be used when communicating with a particular URI.
Through this class, you also control the authentication settings for service certificates negotiated through SSL/TLS negotiation performed at the message level.
This property does not always have to be specified. Whether it is required depends on the authentication mode and negotiation options set on the binding that is used to communicate with the service. Some relevant classes that control this behavior are <xref:System.ServiceModel.MessageSecurityOverHttp> and <xref:System.ServiceModel.MessageSecurityOverTcp>.
You can also set this value using the [&lt;certificate&gt;](~/docs/framework/configure-apps/file-schema/wcf/certificate-for-identity.md) element in a client application configuration file.
## Examples
This code shows how to use this property to get the service's certificate and set its properties.
[!code-csharp[c_CreateSTS#33](~/samples/snippets/csharp/VS_Snippets_CFX/c_creatests/cs/source.cs#33)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="SupportInteractive">
<MemberSignature Language="C#" Value="public bool SupportInteractive { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool SupportInteractive" />
<MemberSignature Language="DocId" Value="P:System.ServiceModel.Description.ClientCredentials.SupportInteractive" />
<MemberSignature Language="VB.NET" Value="Public Property SupportInteractive As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property bool SupportInteractive { bool get(); void set(bool value); };" />
<MemberSignature Language="F#" Value="member this.SupportInteractive : bool with get, set" Usage="System.ServiceModel.Description.ClientCredentials.SupportInteractive" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Primitives</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value that indicates whether the system is allowed to interactively prompt the user for credentials when necessary. For example, setting it to <see langword="false" /> might be desired in middle-tier scenarios.</summary>
<value>
<see langword="true" /> if the credential supports interactive mode; otherwise, <see langword="false" />. The default is <see langword="true" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This property controls whether a user interface is allowed to pop up during credential provisioning. The most common case where this currently happens is with [!INCLUDE[infocard](~/includes/infocard-md.md)].
## Examples
The following code shows how to set this property.
[!code-csharp[c_CreateSTS#27](~/samples/snippets/csharp/VS_Snippets_CFX/c_creatests/cs/source.cs#27)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="System.ServiceModel.Description.IEndpointBehavior.AddBindingParameters">
<MemberSignature Language="C#" Value="void IEndpointBehavior.AddBindingParameters (System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Channels.BindingParameterCollection bindingParameters);" FrameworkAlternate="dotnet-plat-ext-2.1;dotnet-plat-ext-2.2;dotnet-plat-ext-3.0;dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.ServiceModel.Description.IEndpointBehavior.AddBindingParameters(class System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, class System.ServiceModel.Channels.BindingParameterCollection bindingParameters) cil managed" FrameworkAlternate="dotnet-plat-ext-2.1;dotnet-plat-ext-2.2;dotnet-plat-ext-3.0;dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Description.ClientCredentials.System#ServiceModel#Description#IEndpointBehavior#AddBindingParameters(System.ServiceModel.Description.ServiceEndpoint,System.ServiceModel.Channels.BindingParameterCollection)" />
<MemberSignature Language="C++ CLI" Value=" virtual void System.ServiceModel.Description.IEndpointBehavior.AddBindingParameters(System::ServiceModel::Description::ServiceEndpoint ^ serviceEndpoint, System::ServiceModel::Channels::BindingParameterCollection ^ bindingParameters) = System::ServiceModel::Description::IEndpointBehavior::AddBindingParameters;" FrameworkAlternate="dotnet-plat-ext-2.1;dotnet-plat-ext-2.2;dotnet-plat-ext-3.0;dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<MemberSignature Language="C#" Value="void IEndpointBehavior.AddBindingParameters (System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Channels.BindingParameterCollection parameters);" FrameworkAlternate="xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.ServiceModel.Description.IEndpointBehavior.AddBindingParameters(class System.ServiceModel.Description.ServiceEndpoint endpoint, class System.ServiceModel.Channels.BindingParameterCollection parameters) cil managed" FrameworkAlternate="xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
<MemberSignature Language="VB.NET" Value="Sub AddBindingParameters (endpoint As ServiceEndpoint, parameters As BindingParameterCollection) Implements IEndpointBehavior.AddBindingParameters" FrameworkAlternate="xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
<MemberSignature Language="C++ CLI" Value=" virtual void System.ServiceModel.Description.IEndpointBehavior.AddBindingParameters(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Channels::BindingParameterCollection ^ parameters) = System::ServiceModel::Description::IEndpointBehavior::AddBindingParameters;" FrameworkAlternate="xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.ServiceModel.Description.IEndpointBehavior.AddBindingParameters(System.ServiceModel.Description.ServiceEndpoint,System.ServiceModel.Channels.BindingParameterCollection)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.5.0.1</AssemblyVersion>
<AssemblyVersion>4.5.0.3</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="serviceEndpoint" Type="System.ServiceModel.Description.ServiceEndpoint" Index="0" FrameworkAlternate="dotnet-plat-ext-2.1;dotnet-plat-ext-2.2;dotnet-plat-ext-3.0;dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="endpoint" Type="System.ServiceModel.Description.ServiceEndpoint" Index="0" FrameworkAlternate="xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
<Parameter Name="bindingParameters" Type="System.ServiceModel.Channels.BindingParameterCollection" Index="1" FrameworkAlternate="dotnet-plat-ext-2.1;dotnet-plat-ext-2.2;dotnet-plat-ext-3.0;dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="parameters" Type="System.ServiceModel.Channels.BindingParameterCollection" Index="1" FrameworkAlternate="xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
</Parameters>
<Docs>
<param name="serviceEndpoint">The <see cref="T:System.ServiceModel.Description.ServiceEndpoint" /> to add.</param>
<param name="endpoint">To be added.</param>
<param name="bindingParameters">The collection of binding parameters.</param>
<param name="parameters">To be added.</param>
<summary>Adds this instance of this class to a binding parameter collection.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
An explicit implementation of the <xref:System.ServiceModel.Description.ClientCredentials.System%23ServiceModel%23Description%23IEndpointBehavior%23AddBindingParameters%2A> method.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="System.ServiceModel.Description.IEndpointBehavior.ApplyDispatchBehavior">
<MemberSignature Language="C#" Value="void IEndpointBehavior.ApplyDispatchBehavior (System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Dispatcher.EndpointDispatcher endpointDispatcher);" FrameworkAlternate="dotnet-plat-ext-2.1;dotnet-plat-ext-2.2;dotnet-plat-ext-3.0;dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.ServiceModel.Description.IEndpointBehavior.ApplyDispatchBehavior(class System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, class System.ServiceModel.Dispatcher.EndpointDispatcher endpointDispatcher) cil managed" FrameworkAlternate="dotnet-plat-ext-2.1;dotnet-plat-ext-2.2;dotnet-plat-ext-3.0;dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Description.ClientCredentials.System#ServiceModel#Description#IEndpointBehavior#ApplyDispatchBehavior(System.ServiceModel.Description.ServiceEndpoint,System.ServiceModel.Dispatcher.EndpointDispatcher)" />
<MemberSignature Language="C++ CLI" Value=" virtual void System.ServiceModel.Description.IEndpointBehavior.ApplyDispatchBehavior(System::ServiceModel::Description::ServiceEndpoint ^ serviceEndpoint, System::ServiceModel::Dispatcher::EndpointDispatcher ^ endpointDispatcher) = System::ServiceModel::Description::IEndpointBehavior::ApplyDispatchBehavior;" FrameworkAlternate="dotnet-plat-ext-2.1;dotnet-plat-ext-2.2;dotnet-plat-ext-3.0;dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<MemberSignature Language="C#" Value="void IEndpointBehavior.ApplyDispatchBehavior (System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.EndpointDispatcher dispatcher);" FrameworkAlternate="xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.ServiceModel.Description.IEndpointBehavior.ApplyDispatchBehavior(class System.ServiceModel.Description.ServiceEndpoint endpoint, class System.ServiceModel.Dispatcher.EndpointDispatcher dispatcher) cil managed" FrameworkAlternate="xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
<MemberSignature Language="VB.NET" Value="Sub ApplyDispatchBehavior (endpoint As ServiceEndpoint, dispatcher As EndpointDispatcher) Implements IEndpointBehavior.ApplyDispatchBehavior" FrameworkAlternate="xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
<MemberSignature Language="C++ CLI" Value=" virtual void System.ServiceModel.Description.IEndpointBehavior.ApplyDispatchBehavior(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Dispatcher::EndpointDispatcher ^ dispatcher) = System::ServiceModel::Description::IEndpointBehavior::ApplyDispatchBehavior;" FrameworkAlternate="xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.ServiceModel.Description.IEndpointBehavior.ApplyDispatchBehavior(System.ServiceModel.Description.ServiceEndpoint,System.ServiceModel.Dispatcher.EndpointDispatcher)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.5.0.1</AssemblyVersion>
<AssemblyVersion>4.5.0.3</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="serviceEndpoint" Type="System.ServiceModel.Description.ServiceEndpoint" Index="0" FrameworkAlternate="dotnet-plat-ext-2.1;dotnet-plat-ext-2.2;dotnet-plat-ext-3.0;dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="endpoint" Type="System.ServiceModel.Description.ServiceEndpoint" Index="0" FrameworkAlternate="xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
<Parameter Name="endpointDispatcher" Type="System.ServiceModel.Dispatcher.EndpointDispatcher" Index="1" FrameworkAlternate="dotnet-plat-ext-2.1;dotnet-plat-ext-2.2;dotnet-plat-ext-3.0;dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="dispatcher" Type="System.ServiceModel.Dispatcher.EndpointDispatcher" Index="1" FrameworkAlternate="xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
</Parameters>
<Docs>
<param name="serviceEndpoint">The endpoint that exposes the contract.</param>
<param name="endpoint">To be added.</param>
<param name="endpointDispatcher">The endpoint dispatcher to be modified or extended.</param>
<param name="dispatcher">To be added.</param>
<summary>Implements a modification or extension of the service across an endpoint.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="System.ServiceModel.Description.IEndpointBehavior.Validate">
<MemberSignature Language="C#" Value="void IEndpointBehavior.Validate (System.ServiceModel.Description.ServiceEndpoint serviceEndpoint);" FrameworkAlternate="dotnet-plat-ext-2.1;dotnet-plat-ext-2.2;dotnet-plat-ext-3.0;dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.ServiceModel.Description.IEndpointBehavior.Validate(class System.ServiceModel.Description.ServiceEndpoint serviceEndpoint) cil managed" FrameworkAlternate="dotnet-plat-ext-2.1;dotnet-plat-ext-2.2;dotnet-plat-ext-3.0;dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<MemberSignature Language="DocId" Value="M:System.ServiceModel.Description.ClientCredentials.System#ServiceModel#Description#IEndpointBehavior#Validate(System.ServiceModel.Description.ServiceEndpoint)" />
<MemberSignature Language="C++ CLI" Value=" virtual void System.ServiceModel.Description.IEndpointBehavior.Validate(System::ServiceModel::Description::ServiceEndpoint ^ serviceEndpoint) = System::ServiceModel::Description::IEndpointBehavior::Validate;" FrameworkAlternate="dotnet-plat-ext-2.1;dotnet-plat-ext-2.2;dotnet-plat-ext-3.0;dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<MemberSignature Language="C#" Value="void IEndpointBehavior.Validate (System.ServiceModel.Description.ServiceEndpoint endpoint);" FrameworkAlternate="xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.ServiceModel.Description.IEndpointBehavior.Validate(class System.ServiceModel.Description.ServiceEndpoint endpoint) cil managed" FrameworkAlternate="xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
<MemberSignature Language="VB.NET" Value="Sub Validate (endpoint As ServiceEndpoint) Implements IEndpointBehavior.Validate" FrameworkAlternate="xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
<MemberSignature Language="C++ CLI" Value=" virtual void System.ServiceModel.Description.IEndpointBehavior.Validate(System::ServiceModel::Description::ServiceEndpoint ^ endpoint) = System::ServiceModel::Description::IEndpointBehavior::Validate;" FrameworkAlternate="xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.ServiceModel.Description.IEndpointBehavior.Validate(System.ServiceModel.Description.ServiceEndpoint)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.5.0.1</AssemblyVersion>
<AssemblyVersion>4.5.0.3</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="serviceEndpoint" Type="System.ServiceModel.Description.ServiceEndpoint" Index="0" FrameworkAlternate="dotnet-plat-ext-2.1;dotnet-plat-ext-2.2;dotnet-plat-ext-3.0;dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="endpoint" Type="System.ServiceModel.Description.ServiceEndpoint" Index="0" FrameworkAlternate="xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
</Parameters>
<Docs>
<param name="serviceEndpoint">The <see cref="T:System.ServiceModel.Description.ServiceEndpoint" /> to validate.</param>
<param name="endpoint">To be added.</param>
<summary>Reserved for future use.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="UseIdentityConfiguration">
<MemberSignature Language="C#" Value="public bool UseIdentityConfiguration { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool UseIdentityConfiguration" />
<MemberSignature Language="DocId" Value="P:System.ServiceModel.Description.ClientCredentials.UseIdentityConfiguration" />
<MemberSignature Language="VB.NET" Value="Public Property UseIdentityConfiguration As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property bool UseIdentityConfiguration { bool get(); void set(bool value); };" />
<MemberSignature Language="F#" Value="member this.UseIdentityConfiguration : bool with get, set" Usage="System.ServiceModel.Description.ClientCredentials.UseIdentityConfiguration" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Primitives</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets whether the client credentials uses identity configuration.</summary>
<value>
<see langword="true" /> if the client credentials uses identity configuration; otherwise, <see langword="false" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="UserName">
<MemberSignature Language="C#" Value="public System.ServiceModel.Security.UserNamePasswordClientCredential UserName { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.ServiceModel.Security.UserNamePasswordClientCredential UserName" />
<MemberSignature Language="DocId" Value="P:System.ServiceModel.Description.ClientCredentials.UserName" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property UserName As UserNamePasswordClientCredential" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::ServiceModel::Security::UserNamePasswordClientCredential ^ UserName { System::ServiceModel::Security::UserNamePasswordClientCredential ^ get(); };" />
<MemberSignature Language="F#" Value="member this.UserName : System.ServiceModel.Security.UserNamePasswordClientCredential" Usage="System.ServiceModel.Description.ClientCredentials.UserName" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.5.0.1</AssemblyVersion>
<AssemblyVersion>4.5.0.3</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Security.UserNamePasswordClientCredential</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a credential object that you can use to set the user name and password that the client uses to authenticate itself to the service.</summary>
<value>A <see cref="T:System.ServiceModel.Security.UserNamePasswordClientCredential" /> that represents the current UserName credential.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
You can use the object returned by this property to configure the credential by calling its members, such as <xref:System.ServiceModel.Security.UserNamePasswordClientCredential.UserName%2A> and <xref:System.ServiceModel.Security.UserNamePasswordClientCredential.Password%2A>.
## Examples
The following code shows how to configure a credential.
[!code-csharp[S_UEClientCredentials#4](~/samples/snippets/csharp/VS_Snippets_CFX/s_ueclientcredentials/cs/program.cs#4)]
[!code-vb[S_UEClientCredentials#4](~/samples/snippets/visualbasic/VS_Snippets_CFX/s_ueclientcredentials/vb/program.vb#4)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Windows">
<MemberSignature Language="C#" Value="public System.ServiceModel.Security.WindowsClientCredential Windows { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.ServiceModel.Security.WindowsClientCredential Windows" />
<MemberSignature Language="DocId" Value="P:System.ServiceModel.Description.ClientCredentials.Windows" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Windows As WindowsClientCredential" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::ServiceModel::Security::WindowsClientCredential ^ Windows { System::ServiceModel::Security::WindowsClientCredential ^ get(); };" />
<MemberSignature Language="F#" Value="member this.Windows : System.ServiceModel.Security.WindowsClientCredential" Usage="System.ServiceModel.Description.ClientCredentials.Windows" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.ServiceModel.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.5.0.1</AssemblyVersion>
<AssemblyVersion>4.5.0.3</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Security.WindowsClientCredential</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets an object used to control the Windows credential that the client uses to authenticate itself to the service.</summary>
<value>A <see cref="T:System.ServiceModel.Security.WindowsClientCredential" /> that represents the current Windows credential.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
You can use the object returned by this property to configure the Windows credential by calling its members, such as <xref:System.ServiceModel.Security.WindowsClientCredential.AllowNtlm%2A> and <xref:System.ServiceModel.Security.WindowsClientCredential.AllowedImpersonationLevel%2A>.
These settings control the Windows credential used during SPNEGO negotiation at either the message or transport level or the properties of Kerberos tokens used for authentication at the message level.
## Examples
The following code shows how to use the object returned by this property to configure the impersonation level.
[!code-csharp[S_UEClientCredentials#5](~/samples/snippets/csharp/VS_Snippets_CFX/s_ueclientcredentials/cs/program.cs#5)]
[!code-vb[S_UEClientCredentials#5](~/samples/snippets/visualbasic/VS_Snippets_CFX/s_ueclientcredentials/vb/program.vb#5)]
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.