ConnectedServiceGrid.CreateAuthenticatorAsync Yöntem

Tanım

Kullanıcıların hizmette oturum açmasına izin veren ConnectedServiceAuthenticator öğesini oluşturur.

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)

Döndürülenler

Task<ConnectedServiceAuthenticator>

Task<TResult>Bir ConnectedServiceAuthenticator örnek döndüren ve sağlayıcının kimlik doğrulaması kullanması gerekmiyorsa null değeri döndürür.

Açıklamalar

İletişim kutusu kapalıyken bağlı hizmetler kodu bu örnekteki Dispose () öğesini çağırır.

Şunlara uygulanır