TessaSerializerDeserializeBsonAsync - метод |
Пространство имён:
Tessa.Platform.Json
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис 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
- Тип: System.IOStream
- objType
- Тип: SystemType
- withLength (Optional)
- Тип: SystemBoolean
- fallbackDeserialization (Optional)
- Тип: SystemBoolean
- useCompression (Optional)
- Тип: SystemBoolean
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskObjectСм. также