BsonStreamAdapter Constructor |
Namespace:
MongoDB.Bson.IO
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
Syntax public BsonStreamAdapter(
Stream stream,
bool ownsStream = false
)
Public Sub New (
stream As Stream,
Optional ownsStream As Boolean = false
)
new :
stream : Stream *
?ownsStream : bool
(* Defaults:
let _ownsStream = defaultArg ownsStream false
*)
-> BsonStreamAdapter
Parameters
- stream
- Type: System.IOStream
The stream. - ownsStream (Optional)
- Type: SystemBoolean
if set to true [owns stream].
Exceptions See Also