コード例 #1
0
        public void ResetCommandTest()
        {
            // construct a Jetstream service client
            JetstreamServiceClient client = new JetstreamServiceClient(JetstreamConfiguration.Url, JetstreamConfiguration.ApplicationAccessKey);

            try
            {
                // create and configure the request object
                ResetCommandRequest request = new ResetCommandRequest();
                request.LogicalDeviceId = LogicalDeviceId;

                // call the Jetstream ReST endpoint 
                client.ResetCommand(request);
            }
            catch (Exception ex)
            {
                Assert.Fail(ex.ToString());
            }
        }