WebPubSubServiceClient.UserExistsAsync(String, RequestOptions) Method

Definition

Check if there are any client connections connected for the given user.

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

Parameters

userId
System.String

Target user Id.

options
RequestOptions

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

Returns

System.Threading.Tasks.Task<Response<System.Boolean>>

Applies to