DispatchRuntime.ConcurrencyMode 属性

定义

获取或设置服务的实例是依次还是同时处理消息。

public:
 property System::ServiceModel::ConcurrencyMode ConcurrencyMode { System::ServiceModel::ConcurrencyMode get(); void set(System::ServiceModel::ConcurrencyMode value); };
public System.ServiceModel.ConcurrencyMode ConcurrencyMode { get; set; }
member this.ConcurrencyMode : System.ServiceModel.ConcurrencyMode with get, set
Public Property ConcurrencyMode As ConcurrencyMode

属性值

ConcurrencyMode

一个 ConcurrencyMode 对象,该对象控制服务的实例是依次还是同时处理消息。

注解

若要使用 Multiple 并发模式,服务实现必须是线程安全的。

适用于