StatelessWorkerAttribute 构造函数

定义

重载

StatelessWorkerAttribute()

初始化 StatelessWorkerAttribute 类的新实例。

StatelessWorkerAttribute(Int32)

初始化 StatelessWorkerAttribute 类的新实例。

StatelessWorkerAttribute()

Source:
GrainAttributeConcurrency.cs

初始化 StatelessWorkerAttribute 类的新实例。

public StatelessWorkerAttribute ();
Public Sub New ()

适用于

StatelessWorkerAttribute(Int32)

Source:
GrainAttributeConcurrency.cs

初始化 StatelessWorkerAttribute 类的新实例。

public StatelessWorkerAttribute (int maxLocalWorkers);
new Orleans.Concurrency.StatelessWorkerAttribute : int -> Orleans.Concurrency.StatelessWorkerAttribute
Public Sub New (maxLocalWorkers As Integer)

参数

maxLocalWorkers
Int32

最大本地辅助角色数。

适用于