ConnectedServiceGrid.CreateAuthenticatorAsync Método

Definição

Cria o ConnectedServiceAuthenticator que permite que os usuários façam logon no serviço.

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)

Retornos

Task<ConnectedServiceAuthenticator>

Retorna Task<TResult> que retorna uma ConnectedServiceAuthenticator instância ou NULL se o provedor não precisar usar a autenticação.

Comentários

O código de serviços conectados chamará Dispose () nessa instância quando a caixa de diálogo for fechada.

Aplica-se a