Amazon.Kinesis.AmazonKinesisClient.GetRecordsAsync C# (CSharp) Method

GetRecordsAsync() public method

Initiates the asynchronous execution of the GetRecords operation.
public GetRecordsAsync ( GetRecordsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.Kinesis.Model.GetRecordsRequest Container for the necessary parameters to execute the GetRecords operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<GetRecordsResponse> GetRecordsAsync(GetRecordsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new GetRecordsRequestMarshaller();
            var unmarshaller = GetRecordsResponseUnmarshaller.Instance;

            return InvokeAsync<GetRecordsRequest,GetRecordsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonKinesisClient::GetRecordsAsync ( GetRecordsRequest request, GetRecordsResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonKinesisClient