共用方式為


ConnectedServiceGrid.CreateAuthenticatorAsync 方法

定義

建立 ConnectedServiceAuthenticator,讓用戶能夠登入服務。

public:
 virtual System::Threading::Tasks::Task<Microsoft::VisualStudio::ConnectedServices::ConnectedServiceAuthenticator ^> ^ CreateAuthenticatorAsync();
public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.ConnectedServices.ConnectedServiceAuthenticator> CreateAuthenticatorAsync();
abstract member CreateAuthenticatorAsync : unit -> System.Threading.Tasks.Task<Microsoft.VisualStudio.ConnectedServices.ConnectedServiceAuthenticator>
override this.CreateAuthenticatorAsync : unit -> System.Threading.Tasks.Task<Microsoft.VisualStudio.ConnectedServices.ConnectedServiceAuthenticator>
Public Overridable Function CreateAuthenticatorAsync () As Task(Of ConnectedServiceAuthenticator)

傳回

ConnectedServiceAuthenticator 實例,如果提供者不需要使用驗證,則為 null。

備註

連線服務核心會在關閉對話框時,在此實例上呼叫 Dispose () 。

適用於