你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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