你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DeviceCodeCredentialOptions.DeviceCodeCallback Property

Definition

The callback which will be executed to display the device code login details to the user. In not specified the device code and login instructions will be printed to the console.

public Func<Azure.Identity.DeviceCodeInfo,System.Threading.CancellationToken,System.Threading.Tasks.Task> DeviceCodeCallback { get; set; }
member this.DeviceCodeCallback : Func<Azure.Identity.DeviceCodeInfo, System.Threading.CancellationToken, System.Threading.Tasks.Task> with get, set
Public Property DeviceCodeCallback As Func(Of DeviceCodeInfo, CancellationToken, Task)

Property Value

Applies to