Dela via


PSAzureContext.Implicit Operator

Definition

Overloads

Implicit(AzureContext to PSAzureContext)

Convert between implementations of the current connection context for Azure.

Implicit(PSAzureContext to AzureContext)

Convert between implementations of the current connection context for Azure.

Implicit(AzureContext to PSAzureContext)

Convert between implementations of the current connection context for Azure.

public static implicit operator Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext (Microsoft.Azure.Commands.Common.Authentication.Abstractions.AzureContext context);
static member op_Implicit : Microsoft.Azure.Commands.Common.Authentication.Abstractions.AzureContext -> Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
Public Shared Widening Operator CType (context As AzureContext) As PSAzureContext

Parameters

context
AzureContext

The connection context to convert.

Returns

The converted context.

Applies to

Implicit(PSAzureContext to AzureContext)

Convert between implementations of the current connection context for Azure.

public static implicit operator Microsoft.Azure.Commands.Common.Authentication.Abstractions.AzureContext (Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext context);
static member op_Implicit : Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext -> Microsoft.Azure.Commands.Common.Authentication.Abstractions.AzureContext
Public Shared Widening Operator CType (context As PSAzureContext) As AzureContext

Parameters

context
PSAzureContext

The connection context to convert.

Returns

The converted context.

Applies to