DirectoryObjectsOperationsExtensions.CreateDirectoryObjectAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- operations
- IDirectoryObjectsOperations
- cancellationToken
- CancellationToken