다음을 통해 공유


GenericResource.GetAsync(CancellationToken) Method

Definition

Gets a resource by ID.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.GenericResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.GenericResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.GenericResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GenericResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to