Compartir a través de


Compilation.GetEntryPoint(CancellationToken) Método

Definición

Devuelve el método Main que actúa como punto de entrada del ensamblado, si es ejecutable (y no un script).

public:
 Microsoft::CodeAnalysis::IMethodSymbol ^ GetEntryPoint(System::Threading::CancellationToken cancellationToken);
public Microsoft.CodeAnalysis.IMethodSymbol GetEntryPoint (System.Threading.CancellationToken cancellationToken);
public Microsoft.CodeAnalysis.IMethodSymbol? GetEntryPoint (System.Threading.CancellationToken cancellationToken);
member this.GetEntryPoint : System.Threading.CancellationToken -> Microsoft.CodeAnalysis.IMethodSymbol
Public Function GetEntryPoint (cancellationToken As CancellationToken) As IMethodSymbol

Parámetros

cancellationToken
CancellationToken

Devoluciones

Se aplica a