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

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

Initiates the asynchronous execution of the DetachThingPrincipal operation.
public DetachThingPrincipalAsync ( DetachThingPrincipalRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DetachThingPrincipalRequest Container for the necessary parameters to execute the DetachThingPrincipal operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<DetachThingPrincipalResponse> DetachThingPrincipalAsync(DetachThingPrincipalRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new DetachThingPrincipalRequestMarshaller();
            var unmarshaller = DetachThingPrincipalResponseUnmarshaller.Instance;

            return InvokeAsync<DetachThingPrincipalRequest,DetachThingPrincipalResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonIoTClient::DetachThingPrincipalAsync ( string thingName, string principal, System cancellationToken = default(CancellationToken) ) : Task
AmazonIoTClient