VisualBasicSyntaxNode.DeserializeFrom(Stream, CancellationToken) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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
傳回
- 屬性