Delen via


MyHub Class

Definition

public ref class MyHub : Microsoft::AspNetCore::SignalR::Hub
public class MyHub : Microsoft.AspNetCore.SignalR.Hub
type MyHub = class
    inherit Hub
Public Class MyHub
Inherits Hub
Inheritance
MyHub

Constructors

MyHub()

Properties

Clients

Gets or sets an object that can be used to invoke methods on the clients connected to this hub.

(Inherited from Hub)
Context

Gets or sets the hub caller context.

(Inherited from Hub)
Groups

Gets or sets the group manager.

(Inherited from Hub)

Methods

Dispose() (Inherited from Hub)
Dispose(Boolean)

Releases all resources currently used by this Hub instance.

(Inherited from Hub)
OnConnectedAsync()

Called when a new connection is established with the hub.

(Inherited from Hub)
OnDisconnectedAsync(Exception)

Called when a connection with the hub is terminated.

(Inherited from Hub)

Applies to