ActiveDirectoryAuthenticationProviderOptions.DeviceCodeFlowCallback Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Panggilan balik aliran kode perangkat opsional yang dipanggil untuk SqlAuthenticationMethod.ActiveDirectoryDeviceCodeFlow.
Ketika null, panggilan balik default penyedia (yang menulis instruksi kode perangkat ke konsol) digunakan.
public:
property Func<Microsoft::Identity::Client::DeviceCodeResult ^, System::Threading::Tasks::Task ^> ^ DeviceCodeFlowCallback { Func<Microsoft::Identity::Client::DeviceCodeResult ^, System::Threading::Tasks::Task ^> ^ get(); void set(Func<Microsoft::Identity::Client::DeviceCodeResult ^, System::Threading::Tasks::Task ^> ^ value); };
public Func<Microsoft.Identity.Client.DeviceCodeResult,System.Threading.Tasks.Task>? DeviceCodeFlowCallback { get; set; }
member this.DeviceCodeFlowCallback : Func<Microsoft.Identity.Client.DeviceCodeResult, System.Threading.Tasks.Task> with get, set
Public Property DeviceCodeFlowCallback As Func(Of DeviceCodeResult, Task)