Udostępnij za pośrednictwem


LinkConnectionClient.PauseAsync(String, CancellationToken) Method

Definition

Pause a link connection. It may take a few minutes from Pausing to Paused, monitor the status with LinkConnection_GetDetailedStatus.

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

Parameters

linkConnectionName
String

The link connection name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to