WebPubSubServiceClient.ConnectionExistsAsync(String, RequestContext) 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.
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.