Partager via


OAuth2PermissionGrantOperationsExtensions.CreateAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Graph.RBAC.Version1_6_20190326.Models.OAuth2PermissionGrant> CreateAsync (this Microsoft.Azure.Graph.RBAC.Version1_6_20190326.IOAuth2PermissionGrantOperations operations, Microsoft.Azure.Graph.RBAC.Version1_6_20190326.Models.OAuth2PermissionGrant body = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Graph.RBAC.Version1_6_20190326.IOAuth2PermissionGrantOperations * Microsoft.Azure.Graph.RBAC.Version1_6_20190326.Models.OAuth2PermissionGrant * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Graph.RBAC.Version1_6_20190326.Models.OAuth2PermissionGrant>
<Extension()>
Public Function CreateAsync (operations As IOAuth2PermissionGrantOperations, Optional body As OAuth2PermissionGrant = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of OAuth2PermissionGrant)

Parameters

cancellationToken
CancellationToken

Returns

Applies to