HubConnection.Remove(String) Method

Definition

Removes all handlers associated with the method with the specified method name.

C#
public void Remove (string methodName);
C#
public virtual void Remove (string methodName);

Parameters

methodName
String

The name of the hub method from which handlers are being removed

Applies to

Product Versions
ASP.NET Core 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0