BsonStreamAdapter.Close Method (original) (raw)
MongoDB .NET Driver API Documentation
BsonStreamAdapterClose Method
Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. Instead of calling this method, ensure that the stream is properly disposed.
Namespace: MongoDB.Bson.IO
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
public override void Close()
Public Overrides Sub Close
abstract Close : unit -> unit override Close : unit -> unit
See Also