Düzenle

Aracılığıyla paylaş


IClusterClient.Connect Method

Definition

Overloads

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