Compartilhar via


WebPubSubServiceClient.ConnectionExistsAsync(String, RequestContext) Método

Definição

Verifique se a conexão com a connectionId fornecida existe.

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))

Parâmetros

connectionId
String

A ID de conexão.

context
RequestContext

Opções que especificam o token de cancelamento, o controle de relatórios de erros etc.

Retornos

Aplica-se a