Method CreateStream
- Namespace
 - MongoDB.Driver.Core.Connections
 
- Assembly
 - MongoDB.Driver.dll
 
CreateStream(EndPoint, CancellationToken)
Creates a stream.
Stream CreateStream(EndPoint endPoint, CancellationToken cancellationToken)
Parameters
endPointEndPointThe end point.
cancellationTokenCancellationTokenThe cancellation token.
Returns
- Stream
 A Stream.