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