Amazon.Pinpoint.AmazonPinpointClient.GetSegmentsAsync C# (CSharp) Метод

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

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

            return InvokeAsync<GetSegmentsRequest,GetSegmentsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonPinpointClient