Partager via


VisualBasicExtensions.GetAwaitExpressionInfo Méthode

Définition

Obtient l’objet AwaitExpressionInfo correspondant contenant des informations sémantiques pour un AwaitExpressionSyntax spécifié.

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

Paramètres

semanticModel
SemanticModel
awaitExpression
AwaitExpressionSyntax
cancellationToken
CancellationToken

Retours

S’applique à