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

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

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

            return InvokeAsync<GetSegmentRequest,GetSegmentResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonPinpointClient