共用方式為


AzureSessionInitializer.MigrateAdalCache Method

Definition

public static void MigrateAdalCache (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSession session, Func<Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer> getContextContainer, Action<string> writeWarning);
static member MigrateAdalCache : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSession * Func<Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer> * Action<string> -> unit
Public Shared Sub MigrateAdalCache (session As IAzureSession, getContextContainer As Func(Of IAzureContextContainer), writeWarning As Action(Of String))

Parameters

session
IAzureSession
getContextContainer
Func<IAzureContextContainer>
writeWarning
Action<String>

Applies to