共用方式為


WebPubSubServiceClient.ConnectionExists(String, RequestContext) Method

Definition

Check if the connection with the given connectionId exists.

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

Parameters

connectionId
String

The connection Id.

context
RequestContext

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

Returns

Applies to