IActivity.IsSingleExecution 属性
如果相同活动实例中的重复调用生成新的标记(线程),则为 true。 若每次调用实例化一个新的活动,则为 false。
命名空间: Microsoft.VisualStudio.Uml.Activities
程序集: Microsoft.VisualStudio.Uml.Interfaces(在 Microsoft.VisualStudio.Uml.Interfaces.dll 中)
语法
声明
Property IsSingleExecution As Boolean
bool IsSingleExecution { get; set; }
property bool IsSingleExecution {
bool get ();
void set (bool value);
}
abstract IsSingleExecution : bool with get, set
function get IsSingleExecution () : boolean
function set IsSingleExecution (value : boolean)
属性值
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。