public GetSegmentAsync ( |
||
request | 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. /// |
return | 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);
}