Method ConnectAsync
ConnectAsync(string)
Connects to a ScaleOut in-memory data grid, returning a GridConnection instance that can be used with a CacheBuilder<TKey, TValue> to access objects in the ScaleOut service.
public static Task<GridConnection> ConnectAsync(string connectionString)
Parameters
connectionString
stringString containing parameters for connecting to ScaleOut host(s).
Returns
- Task<GridConnection>
A GridConnection instance.
- See Also
ConnectAsync(string, BootstrapGatewayProvider)
Connects to a ScaleOut in-memory data grid, returning a GridConnection instance that can be used with a CacheBuilder<TKey, TValue> to access objects in the ScaleOut service.
public static Task<GridConnection> ConnectAsync(string connectionString, BootstrapGatewayProvider bootstrapGatewayProvider)
Parameters
connectionString
stringString containing parameters for connecting to ScaleOut host(s).
bootstrapGatewayProvider
BootstrapGatewayProviderA bootstrap gateway provider that can be used to find ScaleOut hosts running in cloud environment.
Returns
- Task<GridConnection>
A GridConnection instance.
- See Also