Edytuj

Udostępnij za pośrednictwem


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.

public static Orleans.Runtime.SiloAddress New (System.Net.IPEndPoint ep, int gen);
static member New : System.Net.IPEndPoint * int -> Orleans.Runtime.SiloAddress
Public Shared Function New (ep As IPEndPoint, gen As Integer) As SiloAddress

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

New(IPAddress, Int32, Int32)

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

public static Orleans.Runtime.SiloAddress New (System.Net.IPAddress address, int port, int generation);
static member New : System.Net.IPAddress * int * int -> Orleans.Runtime.SiloAddress
Public Shared Function New (address As IPAddress, port As Integer, generation As Integer) As SiloAddress

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