Edit

Share via


IVersionSelector.GetSuitableVersion Method

Definition

Overloads

GetSuitableVersion(UInt16, IReadOnlyList<UInt16>, ICompatibilityDirector)
GetSuitableVersion(UInt16, UInt16[], ICompatibilityDirector)

Returns a collection of suitable interface versions for a given request.

GetSuitableVersion(UInt16, IReadOnlyList<UInt16>, ICompatibilityDirector)

Source:
IVersionSelector.cs
public System.Collections.Generic.IReadOnlyList<ushort> GetSuitableVersion (ushort requestedVersion, System.Collections.Generic.IReadOnlyList<ushort> availableVersions, Orleans.Versions.Compatibility.ICompatibilityDirector compatibilityDirector);
abstract member GetSuitableVersion : uint16 * System.Collections.Generic.IReadOnlyList<uint16> * Orleans.Versions.Compatibility.ICompatibilityDirector -> System.Collections.Generic.IReadOnlyList<uint16>
Public Function GetSuitableVersion (requestedVersion As UShort, availableVersions As IReadOnlyList(Of UShort), compatibilityDirector As ICompatibilityDirector) As IReadOnlyList(Of UShort)

Parameters

requestedVersion
UInt16
availableVersions
IReadOnlyList<UInt16>
compatibilityDirector
ICompatibilityDirector

Returns

Applies to

GetSuitableVersion(UInt16, UInt16[], ICompatibilityDirector)

Returns a collection of suitable interface versions for a given request.

public ushort[] GetSuitableVersion (ushort requestedVersion, ushort[] availableVersions, Orleans.Versions.Compatibility.ICompatibilityDirector compatibilityDirector);
abstract member GetSuitableVersion : uint16 * uint16[] * Orleans.Versions.Compatibility.ICompatibilityDirector -> uint16[]
Public Function GetSuitableVersion (requestedVersion As UShort, availableVersions As UShort(), compatibilityDirector As ICompatibilityDirector) As UShort()

Parameters

requestedVersion
UInt16

The requested grain interface version.

availableVersions
UInt16[]

The collection of available interface versions.

compatibilityDirector
ICompatibilityDirector

The compatibility director.

Returns

UInt16[]

A collection of suitable interface versions for a given request.

Applies to