Прочетете на английски Редактиране

Споделяне чрез


SiloAddress.New Method

Definition

Overloads

New(IPEndPoint, Int32)

Factory for creating new SiloAddresses with specified IP endpoint address and silo generation number.

New(IPAddress, Int32, Int32)

Factory for creating new SiloAddresses with specified IP endpoint address and silo generation number.

New(IPEndPoint, Int32)

Source:
SiloAddress.cs

Factory for creating new SiloAddresses with specified IP endpoint address and silo generation number.

C#
public static Orleans.Runtime.SiloAddress New(System.Net.IPEndPoint ep, int gen);

Parameters

ep
IPEndPoint

IP endpoint address of the silo.

gen
Int32

Generation number of the silo.

Returns

SiloAddress object initialized with specified address and silo generation.

Applies to

.NET Orleans 9.0.0 и други версии
Продукт Версии
.NET Orleans 1.5.10, 3.4.5, 3.6.0, 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0

New(IPAddress, Int32, Int32)

Factory for creating new SiloAddresses with specified IP endpoint address and silo generation number.

C#
public static Orleans.Runtime.SiloAddress New(System.Net.IPAddress address, int port, int generation);

Parameters

address
IPAddress

IP address of the silo.

port
Int32

Port number

generation
Int32

Generation number of the silo.

Returns

SiloAddress object initialized with specified address and silo generation.

Applies to

.NET Orleans 9.0.0 и други версии
Продукт Версии
.NET Orleans 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0