共用方式為


WebPubSubServiceClient.ConnectionExistsAsync(String, RequestContext) Method

Definition

Check if the connection with the given connectionId exists.

public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ConnectionExistsAsync (string connectionId, Azure.RequestContext context = default);
abstract member ConnectionExistsAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ConnectionExistsAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ConnectionExistsAsync (connectionId As String, Optional context As RequestContext = Nothing) As Task(Of Response(Of Boolean))

Parameters

connectionId
String

The connection Id.

context
RequestContext

Options specifying the cancellation token, controlling error reporting, etc.

Returns

Applies to