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

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

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

            return InvokeAsync<GetSegmentVersionRequest,GetSegmentVersionResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonPinpointClient