Amazon.Inspector.AmazonInspectorClient.PreviewAgentsAsync C# (CSharp) Метод

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

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

            return InvokeAsync<PreviewAgentsRequest,PreviewAgentsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonInspectorClient