Share via


SparkSessionClient.ResetSparkSessionTimeoutAsync Method

Definition

Sends a keep alive call to the current session to reset the session timeout.

public virtual System.Threading.Tasks.Task<Azure.Response> ResetSparkSessionTimeoutAsync (int sessionId, System.Threading.CancellationToken cancellationToken = default);
abstract member ResetSparkSessionTimeoutAsync : int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.ResetSparkSessionTimeoutAsync : int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function ResetSparkSessionTimeoutAsync (sessionId As Integer, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

sessionId
Int32

Identifier for the session.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to