Compartir a través de


ISnapshot.GrantAccessAsync(Int32, CancellationToken) Método

Definición

Concede acceso a la instantánea de forma asincrónica.

public System.Threading.Tasks.Task<string> GrantAccessAsync (int accessDurationInSeconds, System.Threading.CancellationToken cancellationToken = default);
abstract member GrantAccessAsync : int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function GrantAccessAsync (accessDurationInSeconds As Integer, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)

Parámetros

accessDurationInSeconds
Int32

Duración del acceso en segundos.

cancellationToken
CancellationToken

Devoluciones

Se aplica a