Amazon.DeviceFarm.AmazonDeviceFarmClient.GetDeviceAsync C# (CSharp) Метод

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

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

            return InvokeAsync<GetDeviceRequest,GetDeviceResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonDeviceFarmClient::GetDeviceAsync ( string arn, System cancellationToken = default(CancellationToken) ) : Task
AmazonDeviceFarmClient