IBehavioralFeature.Concurrency 属性
定义如何调用分离的线程进行处理。 序贯 = 功能不是为了同时处理多个调用;防护 = 调用将被阻止,一次只能处理一个调用;并发 = 同时处理多个调用。
命名空间: Microsoft.VisualStudio.Uml.Classes
程序集: Microsoft.VisualStudio.Uml.Interfaces(在 Microsoft.VisualStudio.Uml.Interfaces.dll 中)
语法
声明
Property Concurrency As CallConcurrencyKind
Get
Set
CallConcurrencyKind Concurrency { get; set; }
property CallConcurrencyKind Concurrency {
CallConcurrencyKind get ();
void set (CallConcurrencyKind value);
}
abstract Concurrency : CallConcurrencyKind with get, set
function get Concurrency () : CallConcurrencyKind
function set Concurrency (value : CallConcurrencyKind)
属性值
类型:Microsoft.VisualStudio.Uml.CommonBehaviors.CallConcurrencyKind
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。