TessaBsonSerializerDeserializeBsonAsync - метод
Пространство имён: Tessa.Platform.JsonСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
public Task<Object> DeserializeBsonAsync(
Stream stream,
Type objType,
bool withLength = false,
bool fallbackDeserialization = false,
bool useCompression = false,
CancellationToken cancellationToken = default
)
Public Function DeserializeBsonAsync (
stream As Stream,
objType As Type,
Optional withLength As Boolean = false,
Optional fallbackDeserialization As Boolean = false,
Optional useCompression As Boolean = false,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Object)
public:
Task<Object^>^ DeserializeBsonAsync(
Stream^ stream,
Type^ objType,
bool withLength = false,
bool fallbackDeserialization = false,
bool useCompression = false,
CancellationToken cancellationToken = CancellationToken()
)
member DeserializeBsonAsync :
stream : Stream *
objType : Type *
?withLength : bool *
?fallbackDeserialization : bool *
?useCompression : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _withLength = defaultArg withLength false
let _fallbackDeserialization = defaultArg fallbackDeserialization false
let _useCompression = defaultArg useCompression false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<Object>
- stream Stream
-
- objType Type
-
- withLength Boolean (Optional)
-
- fallbackDeserialization Boolean (Optional)
-
- useCompression Boolean (Optional)
-
- cancellationToken CancellationToken (Optional)
-
TaskObject