Share via


VisualBasicSyntaxNode.DeserializeFrom(Stream, CancellationToken) Method

Definition

Caution

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

Caution

Syntax serialization support is no longer supported

Deserialize a syntax node from a byte stream.

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

Parameters

stream
Stream
cancellationToken
CancellationToken

Returns

Attributes

Applies to