Table of Contents

Method Unregister

Namespace
DSharpPlus.AsyncEvents
Assembly
DSharpPlus.dll

Unregister(AsyncEventHandler<TSender, TArgs>)

Unregisters a specific handler from this event.

public void Unregister(AsyncEventHandler<TSender, TArgs> handler)

Parameters

handler AsyncEventHandler<TSender, TArgs>

Exceptions

ArgumentNullException

Thrown if the specified handler was null.