你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AzureSession.Initialize 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.
Overloads
Initialize(Func<IAzureSession>) | |
Initialize(Func<IAzureSession>, Boolean) |
Initialize(Func<IAzureSession>)
public static void Initialize (Func<Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSession> instanceCreator);
static member Initialize : Func<Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSession> -> unit
Public Shared Sub Initialize (instanceCreator As Func(Of IAzureSession))
Parameters
- instanceCreator
- Func<IAzureSession>
Applies to
Initialize(Func<IAzureSession>, Boolean)
public static void Initialize (Func<Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSession> instanceCreator, bool overwrite);
static member Initialize : Func<Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSession> * bool -> unit
Public Shared Sub Initialize (instanceCreator As Func(Of IAzureSession), overwrite As Boolean)
Parameters
- instanceCreator
- Func<IAzureSession>
- overwrite
- Boolean