Dela via


WebHostService.OnStarting(String[]) Method

Definition

Executes before ASP.NET Core starts.

protected:
 virtual void OnStarting(cli::array <System::String ^> ^ args);
protected virtual void OnStarting (string[] args);
abstract member OnStarting : string[] -> unit
override this.OnStarting : string[] -> unit
Protected Overridable Sub OnStarting (args As String())

Parameters

args
String[]

The command line arguments passed to the service.

Applies to