ContextModelExtensions.WithAccount(IAzureContext, IAzureAccount) 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.
public static Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext WithAccount (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext context, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount account);
static member WithAccount : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount -> Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext
<Extension()>
Public Function WithAccount (context As IAzureContext, account As IAzureAccount) As IAzureContext
Parameters
- context
- IAzureContext
- account
- IAzureAccount