Partager via


DirectoryObjectsOperationsExtensions.CreateDirectoryObjectAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.MSGraph.Version1_0.DirectoryObjects.Models.MicrosoftGraphDirectoryObject> CreateDirectoryObjectAsync (this Microsoft.Azure.Commands.Common.MSGraph.Version1_0.DirectoryObjects.IDirectoryObjectsOperations operations, Microsoft.Azure.Commands.Common.MSGraph.Version1_0.DirectoryObjects.Models.MicrosoftGraphDirectoryObject body, System.Threading.CancellationToken cancellationToken = default);
static member CreateDirectoryObjectAsync : Microsoft.Azure.Commands.Common.MSGraph.Version1_0.DirectoryObjects.IDirectoryObjectsOperations * Microsoft.Azure.Commands.Common.MSGraph.Version1_0.DirectoryObjects.Models.MicrosoftGraphDirectoryObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.MSGraph.Version1_0.DirectoryObjects.Models.MicrosoftGraphDirectoryObject>
<Extension()>
Public Function CreateDirectoryObjectAsync (operations As IDirectoryObjectsOperations, body As MicrosoftGraphDirectoryObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of MicrosoftGraphDirectoryObject)

Parameters

cancellationToken
CancellationToken

Returns

Applies to