Freigeben über


AuthenticationWithTokenRefresh.GetTokenAsync(String) Methode

Definition

Ruft eine Momentaufnahme des Sicherheitstokens ab, das dem Gerät zugeordnet ist. Dieser Aufruf ist threadsicher.

public System.Threading.Tasks.Task<string> GetTokenAsync (string iotHub);
member this.GetTokenAsync : string -> System.Threading.Tasks.Task<string>
Public Function GetTokenAsync (iotHub As String) As Task(Of String)

Parameter

iotHub
String

Gibt zurück

Gilt für: