public CreateSegmentAsync ( |
||
request | Container for the necessary parameters to execute the CreateSegment operation. | |
cancellationToken | System | /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// |
return | Task |
public Task<CreateSegmentResponse> CreateSegmentAsync(CreateSegmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var marshaller = new CreateSegmentRequestMarshaller();
var unmarshaller = CreateSegmentResponseUnmarshaller.Instance;
return InvokeAsync<CreateSegmentRequest,CreateSegmentResponse>(request, marshaller,
unmarshaller, cancellationToken);
}