Condividi tramite


IVersionManager.SetSelectorStrategy Metodo

Definizione

Overload

SetSelectorStrategy(VersionSelectorStrategy)

Impostare la strategia del selettore.

SetSelectorStrategy(GrainInterfaceType, VersionSelectorStrategy)

Impostare la strategia del selettore per un'interfaccia specifica.

SetSelectorStrategy(Int32, VersionSelectorStrategy)

Impostare la strategia del selettore per un'interfaccia specifica

SetSelectorStrategy(VersionSelectorStrategy)

Origine:
IVersionManager.cs

Impostare la strategia del selettore.

public System.Threading.Tasks.Task SetSelectorStrategy (Orleans.Versions.Selector.VersionSelectorStrategy strategy);
abstract member SetSelectorStrategy : Orleans.Versions.Selector.VersionSelectorStrategy -> System.Threading.Tasks.Task
Public Function SetSelectorStrategy (strategy As VersionSelectorStrategy) As Task

Parametri

strategy
VersionSelectorStrategy

Strategia da impostare. Impostare su null per ripristinare la strategia predefinita fornita nella configurazione.

Restituisce

Oggetto Task che rappresenta l'operazione.

Si applica a

SetSelectorStrategy(GrainInterfaceType, VersionSelectorStrategy)

Impostare la strategia del selettore per un'interfaccia specifica.

public System.Threading.Tasks.Task SetSelectorStrategy (Orleans.Runtime.GrainInterfaceType interfaceType, Orleans.Versions.Selector.VersionSelectorStrategy strategy);
abstract member SetSelectorStrategy : Orleans.Runtime.GrainInterfaceType * Orleans.Versions.Selector.VersionSelectorStrategy -> System.Threading.Tasks.Task
Public Function SetSelectorStrategy (interfaceType As GrainInterfaceType, strategy As VersionSelectorStrategy) As Task

Parametri

interfaceType
GrainInterfaceType

Tipo di interfaccia.

strategy
VersionSelectorStrategy

Strategia da impostare. Impostare su null per ripristinare la strategia predefinita fornita nella configurazione.

Restituisce

Oggetto Task che rappresenta l'operazione.

Si applica a

SetSelectorStrategy(Int32, VersionSelectorStrategy)

Origine:
IVersionManager.cs

Impostare la strategia del selettore per un'interfaccia specifica

public System.Threading.Tasks.Task SetSelectorStrategy (int interfaceId, Orleans.Versions.Selector.VersionSelectorStrategy strategy);
abstract member SetSelectorStrategy : int * Orleans.Versions.Selector.VersionSelectorStrategy -> System.Threading.Tasks.Task
Public Function SetSelectorStrategy (interfaceId As Integer, strategy As VersionSelectorStrategy) As Task

Parametri

interfaceId
Int32

ID dell'interfaccia

strategy
VersionSelectorStrategy

Strategia da impostare. Impostare su Null per ripristinare la strategia predefinita fornita nella configurazione

Restituisce

Si applica a