Service. Start Async(CancellationToken) 方法
當應用程式主機準備好啟動服務時觸發。Triggered when the application host is ready to start the service.
public: System::Threading::Tasks::Task ^ StartAsync(System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task StartAsync (System.Threading.CancellationToken cancellationToken);
abstract member StartAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function StartAsync (cancellationToken As CancellationToken) As Task
指出已中止啟動流程。Indicates that the start process has been aborted.