Amazon.IoT.AmazonIoTClient.CreateThingAsync C# (CSharp) Метод

CreateThingAsync() публичный Метод

Initiates the asynchronous execution of the CreateThing operation.
public CreateThingAsync ( CreateThingRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.IoT.Model.CreateThingRequest Container for the necessary parameters to execute the CreateThing operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<CreateThingResponse> CreateThingAsync(CreateThingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new CreateThingRequestMarshaller();
            var unmarshaller = CreateThingResponseUnmarshaller.Instance;

            return InvokeAsync<CreateThingRequest,CreateThingResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonIoTClient