| BsonStreamAdapter Constructor  | 
  
    Namespace: 
   MongoDB.Bson.IO
    Assembly:
   MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
 Syntax
Syntaxpublic 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
*)
-> BsonStreamAdapterParameters
- stream
- Type: System.IOStream
 The stream.
- ownsStream (Optional)
- Type: SystemBoolean
 if set to true [owns stream].
 Exceptions
Exceptions See Also
See Also