VisualBasicExtensions.GetAwaitExpressionInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the corresponding AwaitExpressionInfo containing semantic info for a specified AwaitExpressionSyntax.
public static Microsoft.CodeAnalysis.VisualBasic.AwaitExpressionInfo GetAwaitExpressionInfo (this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.VisualBasic.Syntax.AwaitExpressionSyntax awaitExpression, System.Threading.CancellationToken cancellationToken = default);
static member GetAwaitExpressionInfo : Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.VisualBasic.Syntax.AwaitExpressionSyntax * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.VisualBasic.AwaitExpressionInfo
<Extension()>
Public Function GetAwaitExpressionInfo (semanticModel As SemanticModel, awaitExpression As AwaitExpressionSyntax, Optional cancellationToken As CancellationToken = Nothing) As AwaitExpressionInfo
Parameters
- semanticModel
- SemanticModel
- awaitExpression
- AwaitExpressionSyntax
- cancellationToken
- CancellationToken
Returns
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.