Bagikan melalui


NewTokenAndFrequency(String, Nullable<TimeSpan>) Constructor

Definition

Create a new instance of NewTokenAndFrequency.

public NewTokenAndFrequency (string newToken, TimeSpan? newFrequency = default);
new Microsoft.Azure.Storage.Auth.NewTokenAndFrequency : string * Nullable<TimeSpan> -> Microsoft.Azure.Storage.Auth.NewTokenAndFrequency
Public Sub New (newToken As String, Optional newFrequency As Nullable(Of TimeSpan) = Nothing)

Parameters

newToken
String

The new token credential.

newFrequency
Nullable<TimeSpan>

The new frequency to wait before calling RenewTokenFuncAsync again.

Applies to