다음을 통해 공유


ClusterConfiguration.LocalhostPrimarySilo(Int32, Int32) 메서드

정의

기본 로컬 사일로에 대해 미리 채워진 ClusterConfiguration 개체를 반환합니다(테스트용).

public static Orleans.Runtime.Configuration.ClusterConfiguration LocalhostPrimarySilo (int siloPort = 22222, int gatewayPort = 40000);
static member LocalhostPrimarySilo : int * int -> Orleans.Runtime.Configuration.ClusterConfiguration
Public Shared Function LocalhostPrimarySilo (Optional siloPort As Integer = 22222, Optional gatewayPort As Integer = 40000) As ClusterConfiguration

매개 변수

siloPort
Int32

사일로-사일로 통신용 TCP 포트

gatewayPort
Int32

클라이언트 게이트웨이 TCP 포트

반환

초기화를 위해 사일로 또는 사일로호스트 클래스에 전달할 수 있는 ClusterConfiguration 개체

적용 대상