你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PSAzureContext.Implicit Operator
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
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.