ClientCredentialsExtensions.UseAzureCredentials Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UseAzureCredentials(ChannelFactory) |
Configures the |
UseAzureCredentials(ChannelFactory, Action<AzureClientCredentials>) |
Configures the |
UseAzureCredentials(ChannelFactory)
Configures the channelFactory
to use a new AzureClientCredentials instance.
public static Microsoft.WCF.Azure.AzureClientCredentials UseAzureCredentials (this System.ServiceModel.ChannelFactory channelFactory);
static member UseAzureCredentials : System.ServiceModel.ChannelFactory -> Microsoft.WCF.Azure.AzureClientCredentials
<Extension()>
Public Function UseAzureCredentials (channelFactory As ChannelFactory) As AzureClientCredentials
Parameters
- channelFactory
- ChannelFactory
The channel factory.
Returns
The AzureClientCredentials instance that was created.
Applies to
UseAzureCredentials(ChannelFactory, Action<AzureClientCredentials>)
Configures the channelFactory
to use a new AzureClientCredentials instance and allows additional configuration.
public static Microsoft.WCF.Azure.AzureClientCredentials UseAzureCredentials (this System.ServiceModel.ChannelFactory channelFactory, Action<Microsoft.WCF.Azure.AzureClientCredentials> configure);
static member UseAzureCredentials : System.ServiceModel.ChannelFactory * Action<Microsoft.WCF.Azure.AzureClientCredentials> -> Microsoft.WCF.Azure.AzureClientCredentials
<Extension()>
Public Function UseAzureCredentials (channelFactory As ChannelFactory, configure As Action(Of AzureClientCredentials)) As AzureClientCredentials
Parameters
- channelFactory
- ChannelFactory
The channel factory.
- configure
- Action<AzureClientCredentials>
The configuration action.
Returns
The AzureClientCredentials instance that was created.
Applies to
Azure SDK for .NET