CacheFactory AddLocator Method vFabric GemFire .NET Client Documentation
Add a locator, given its host and port, to this factory.

Namespace: GemStone.GemFire.Cache.Generic
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll) Version: 7.0.1.0
Syntax

public CacheFactory AddLocator(
	string host,
	int port
)

Return Value

a instance of CacheFactory
Exceptions

ExceptionCondition
throws IllegalArgumentException if host is an unknown host or if port is outside the valid range of [1..65535] inclusive.
throws IllegalStateException if a locator has already been added to this factory.
Remarks

The locator must be a server locator and will be used to discover other running bridge servers and locators.
See Also