Edit

Share via


StatelessWorkerAttribute Constructors

Definition

Overloads

Name Description
StatelessWorkerAttribute()

Initializes a new instance of the StatelessWorkerAttribute class.

StatelessWorkerAttribute(Int32)

Initializes a new instance of the StatelessWorkerAttribute class.

StatelessWorkerAttribute(Int32, Boolean)

Initializes a new instance of the StatelessWorkerAttribute class.

StatelessWorkerAttribute()

Source:
GrainAttributeConcurrency.cs

Initializes a new instance of the StatelessWorkerAttribute class.

public StatelessWorkerAttribute();
Public Sub New ()

Applies to

StatelessWorkerAttribute(Int32)

Source:
GrainAttributeConcurrency.cs

Initializes a new instance of the StatelessWorkerAttribute class.

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

Parameters

maxLocalWorkers
Int32

The maximum local workers.

Applies to

StatelessWorkerAttribute(Int32, Boolean)

Initializes a new instance of the StatelessWorkerAttribute class.

public StatelessWorkerAttribute(int maxLocalWorkers, bool removeIdleWorkers);
new Orleans.Concurrency.StatelessWorkerAttribute : int * bool -> Orleans.Concurrency.StatelessWorkerAttribute
Public Sub New (maxLocalWorkers As Integer, removeIdleWorkers As Boolean)

Parameters

maxLocalWorkers
Int32

The maximum local workers.

removeIdleWorkers
Boolean

Applies to