Поделиться через


CSharpSyntaxNode.DeserializeFrom(Stream, CancellationToken) Метод

Определение

Внимание!

Syntax serialization support is deprecated and will be removed in a future version of this API

Внимание!

Syntax serialization support is no longer supported

Десериализация синтаксического узла из потока байтов.

public static Microsoft.CodeAnalysis.SyntaxNode DeserializeFrom (System.IO.Stream stream, System.Threading.CancellationToken cancellationToken = default);
[System.Obsolete("Syntax serialization support is deprecated and will be removed in a future version of this API", false)]
public static Microsoft.CodeAnalysis.SyntaxNode DeserializeFrom (System.IO.Stream stream, System.Threading.CancellationToken cancellationToken = default);
[System.Obsolete("Syntax serialization support is no longer supported", true)]
public static Microsoft.CodeAnalysis.SyntaxNode DeserializeFrom (System.IO.Stream stream, System.Threading.CancellationToken cancellationToken = default);
static member DeserializeFrom : System.IO.Stream * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SyntaxNode
[<System.Obsolete("Syntax serialization support is deprecated and will be removed in a future version of this API", false)>]
static member DeserializeFrom : System.IO.Stream * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SyntaxNode
[<System.Obsolete("Syntax serialization support is no longer supported", true)>]
static member DeserializeFrom : System.IO.Stream * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SyntaxNode
Public Shared Function DeserializeFrom (stream As Stream, Optional cancellationToken As CancellationToken = Nothing) As SyntaxNode

Параметры

stream
Stream
cancellationToken
CancellationToken

Возвращаемое значение

Атрибуты

Применяется к