Udostępnij za pośrednictwem


ClientCredentialsExtensions.UseAzureCredentials Method

Definition

Overloads

UseAzureCredentials(ChannelFactory)

Configures the channelFactory to use a new AzureClientCredentials instance.

UseAzureCredentials(ChannelFactory, Action<AzureClientCredentials>)

Configures the channelFactory to use a new AzureClientCredentials instance and allows additional configuration.

UseAzureCredentials(ChannelFactory)

Source:
ClientCredentialsExtensions.cs

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>)

Source:
ClientCredentialsExtensions.cs

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