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