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; }
}

適用対象