C# Class Microsoft.Azure.Commands.ResourceManager.Common.AzureRMProfileExtensions

Mostrar archivo Open project: Azure/azure-powershell

Public Methods

Method Description
SetContextWithCache ( this profile, AzureContext newContext ) : void

Set the context for the current profile, preserving token cache information

Method Details

SetContextWithCache() public static method

Set the context for the current profile, preserving token cache information
public static SetContextWithCache ( this profile, AzureContext newContext ) : void
profile this The profile to change the context for
newContext Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext The new context, with no token cache information.
return void