次の方法で共有


NativeActivity<TResult>.CanInduceIdle プロパティ

定義

アクティビティがワークフローのアイドル状態を引き起こすことができるかどうかを表す値を取得または設定します。

protected:
 virtual property bool CanInduceIdle { bool get(); };
protected virtual bool CanInduceIdle { get; }
member this.CanInduceIdle : bool
Protected Overridable ReadOnly Property CanInduceIdle As Boolean

プロパティ値

アクティビティがワークフローのアイドル状態を引き起こすことができる場合は true、それ以外の場合は false。 この値の既定値は false です。

NativeActivity<TResult> から継承したクラスでの CanInduceIdle の使用方法を次のコード サンプルに示します。

// indicate to the runtime that this activity can go idle
protected override bool CanInduceIdle
{
    get { return true; }
}

適用対象