internal CreateMicrosoftADResponse CreateMicrosoftAD(CreateMicrosoftADRequest request) { var marshaller = new CreateMicrosoftADRequestMarshaller(); var unmarshaller = CreateMicrosoftADResponseUnmarshaller.Instance; return(Invoke <CreateMicrosoftADRequest, CreateMicrosoftADResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the CreateMicrosoftAD operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateMicrosoftAD operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> public Task <CreateMicrosoftADResponse> CreateMicrosoftADAsync(CreateMicrosoftADRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new CreateMicrosoftADRequestMarshaller(); var unmarshaller = CreateMicrosoftADResponseUnmarshaller.Instance; return(InvokeAsync <CreateMicrosoftADRequest, CreateMicrosoftADResponse>(request, marshaller, unmarshaller, cancellationToken)); }