Share via


ClientAuthenticationWithSharedAccessKeyRefresh.SafeCreateNewTokenAsync メソッド

定義

推奨される TTL を使用して新しいトークンを作成します。

protected override System.Threading.Tasks.Task<string> SafeCreateNewTokenAsync (string iotHub, TimeSpan suggestedTimeToLive);
override this.SafeCreateNewTokenAsync : string * TimeSpan -> System.Threading.Tasks.Task<string>
Protected Overrides Function SafeCreateNewTokenAsync (iotHub As String, suggestedTimeToLive As TimeSpan) As Task(Of String)

パラメーター

iotHub
String

IoT ハブのドメイン名。

suggestedTimeToLive
TimeSpan

推奨される TTL。

戻り値

トークン文字列。

適用対象