Udostępnij za pośrednictwem


LinkConnectionClient.StopAsync(String, CancellationToken) Method

Definition

Stop a link connection. It may take a few minutes from Stopping to stopped, monitor the status with LinkConnection_GetDetailedStatus.

public virtual System.Threading.Tasks.Task<Azure.Response> StopAsync (string linkConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member StopAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.StopAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function StopAsync (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