IGridFSBucket.OpenUploadStreamAsync Method (String, GridFSUploadOptions, CancellationToken) |
Opens a Stream that can be used by the application to write data to a GridFS file.
Namespace: MongoDB.Driver.GridFSAssembly: MongoDB.Driver.GridFS (in MongoDB.Driver.GridFS.dll) Version: 2.4.1
SyntaxTask<GridFSUploadStream> OpenUploadStreamAsync(
string filename,
GridFSUploadOptions options = null,
CancellationToken cancellationToken = null
)
Function OpenUploadStreamAsync (
filename As String,
Optional options As GridFSUploadOptions = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of GridFSUploadStream)
abstract OpenUploadStreamAsync :
filename : string *
?options : GridFSUploadOptions *
?cancellationToken : CancellationToken
(* Defaults:
let _options = defaultArg options null
let _cancellationToken = defaultArg cancellationToken null
*)
-> Task<GridFSUploadStream>
Parameters
- filename
- Type: Task<GridFSUploadStream>
A Task whose result is a Stream.
See Also
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant