共用方式為


PSAzureContext Constructors

Definition

Overloads

PSAzureContext()
PSAzureContext(IAzureContext)
PSAzureContext(PSObject)

PSAzureContext()

public PSAzureContext ();
Public Sub New ()

Applies to

PSAzureContext(IAzureContext)

public PSAzureContext (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext context);
new Microsoft.Azure.Commands.Profile.Models.PSAzureContext : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext -> Microsoft.Azure.Commands.Profile.Models.PSAzureContext
Public Sub New (context As IAzureContext)

Parameters

context
IAzureContext

Applies to

PSAzureContext(PSObject)

public PSAzureContext (System.Management.Automation.PSObject other);
new Microsoft.Azure.Commands.Profile.Models.PSAzureContext : System.Management.Automation.PSObject -> Microsoft.Azure.Commands.Profile.Models.PSAzureContext
Public Sub New (other As PSObject)

Parameters

other
PSObject

Applies to