MultiStateTransactionalGrainBaseClass.OnActivateAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
OnActivateAsync() | |
OnActivateAsync(CancellationToken) |
OnActivateAsync()
public override System.Threading.Tasks.Task OnActivateAsync ();
override this.OnActivateAsync : unit -> System.Threading.Tasks.Task
Public Overrides Function OnActivateAsync () As Task
傳回
適用於
OnActivateAsync(CancellationToken)
public override System.Threading.Tasks.Task OnActivateAsync (System.Threading.CancellationToken cancellationToken);
override this.OnActivateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function OnActivateAsync (cancellationToken As CancellationToken) As Task
參數
- cancellationToken
- CancellationToken