StaticGatewayListProvider 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
IGatewayListProvider 實作會傳回透過 StaticGatewayListProviderOptions設定的靜態清單。
public class StaticGatewayListProvider : Orleans.Messaging.IGatewayListProvider
type StaticGatewayListProvider = class
interface IGatewayListProvider
Public Class StaticGatewayListProvider
Implements IGatewayListProvider
- 繼承
-
StaticGatewayListProvider
- 實作
Static |
初始化 StaticGatewayListProvider 類別的新執行個體。 |
Is |
取得值,指出這個 IGatewayListProvider 是否重新整理其傳回的資訊,或一律傳回相同的閘道清單。 |
Max |
取得重新整理之間的時間週期。 |
Get |
傳回閘道清單, (尋址接收器) 可供用戶端用來連線到「中樞」叢集。 URI 的格式為:「gwy.tcp://IP:port/Generation」。 如需 Uri 格式的詳細資訊,請參閱 Utils.ToGatewayUri 和 Utils.ToSiloAddress。 |
Initialize |
初始化提供者,將會在所有其他方法之前呼叫。 |
產品 | 版本 |
---|---|
.NET Orleans | 3.4.5, 3.6.0, 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0 |