Amazon.CloudHSM.AmazonCloudHSMClient.GetConfigAsync C# (CSharp) Метод

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

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

            return InvokeAsync<GetConfigRequest,GetConfigResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }