Sdílet prostřednictvím


ConnectedServiceGrid.CreateAuthenticatorAsync Metoda

Definice

Vytvoří ConnectedServiceAuthenticator, který uživatelům umožní přihlásit se ke službě.

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)

Návraty

Instance ConnectedServiceAuthenticator nebo null, pokud zprostředkovatel nepotřebuje ověřování.

Poznámky

Jádro připojených služeb bude při zavření dialogového okna v této instanci volat Dispose().

Platí pro