Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IClusterClient.Connect Method

Definition

Namespace:
Orleans
Assembly:
Orleans.dll
Assembly:
Orleans.Core.dll
Package:
Microsoft.Orleans.Core v1.5.10
Package:
Microsoft.Orleans.Core v2.4.5
Package:
Microsoft.Orleans.Core v3.6.5

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Overloads

Name Description
Connect()

Starts the client and connects to the configured cluster.

Connect(Func<Exception,Task<Boolean>>)

Starts the client and connects to the configured cluster.

Connect()

Starts the client and connects to the configured cluster.

public System.Threading.Tasks.Task Connect();
abstract member Connect : unit -> System.Threading.Tasks.Task
Public Function Connect () As Task

Returns

A Task representing the work performed.

Remarks

This method may be called at-most-once per instance.

Applies to

Connect(Func<Exception,Task<Boolean>>)

Source:
IClusterClient.cs

Starts the client and connects to the configured cluster.

public System.Threading.Tasks.Task Connect(Func<Exception,System.Threading.Tasks.Task<bool>> retryFilter = default);
abstract member Connect : Func<Exception, System.Threading.Tasks.Task<bool>> -> System.Threading.Tasks.Task
Public Function Connect (Optional retryFilter As Func(Of Exception, Task(Of Boolean)) = Nothing) As Task

Parameters

retryFilter
Func<Exception,Task<Boolean>>

An optional delegate which determines whether or not the initial connection attempt should be retried.

Returns

A Task representing the work performed.

Remarks

This method may be called at-most-once per instance.

Applies to