LinkConnectionClient.StopAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.