Table of Contents

Method CreateStreamAsync

Namespace
MongoDB.Driver.Core.Connections
Assembly
MongoDB.Driver.Core.dll

CreateStreamAsync(EndPoint, CancellationToken)

Creates a stream.

Task<Stream> CreateStreamAsync(EndPoint endPoint, CancellationToken cancellationToken)

Parameters

endPoint EndPoint

The end point.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<Stream>

A Task whose result is the Stream.