Amazon.IoT.AmazonIoTClient.DeleteThing C# (CSharp) Method

DeleteThing() private method

private DeleteThing ( DeleteThingRequest request ) : DeleteThingResponse
request DeleteThingRequest
return DeleteThingResponse
        internal DeleteThingResponse DeleteThing(DeleteThingRequest request)
        {
            var marshaller = new DeleteThingRequestMarshaller();
            var unmarshaller = DeleteThingResponseUnmarshaller.Instance;

            return Invoke<DeleteThingRequest,DeleteThingResponse>(request, marshaller, unmarshaller);
        }

Same methods

AmazonIoTClient::DeleteThing ( string thingName ) : DeleteThingResponse

Usage Example

示例#1
0
        public static void Cleanup()
        {
            if (!string.IsNullOrEmpty(CREATED_THING_NAME))
            {
                using (var iotClient = new AmazonIoTClient())
                {
                    iotClient.DeleteThing(CREATED_THING_NAME);
                }
            }

            if (Client != null)
            {
                Client.Dispose();
            }
        }
AmazonIoTClient