RateLimiter.Dispose Method
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.
Dispose() |
Disposes the RateLimiter. This completes any queued acquires with a failed lease. |
Dispose(Boolean) |
Dispose method for implementations to write. |
- Source:
- RateLimiter.cs
Disposes the RateLimiter. This completes any queued acquires with a failed lease.
C#
public void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()
Implements
Applies to
ASP.NET Core 9.0 and other versions
Product | Versions |
---|---|
ASP.NET Core | 7.0, 8.0, 9.0 |
- Source:
- RateLimiter.cs
Dispose method for implementations to write.
C#
protected virtual void Dispose (bool disposing);
abstract member Dispose : bool -> unit
override this.Dispose : bool -> unit
Protected Overridable Sub Dispose (disposing As Boolean)
Parameters
- disposing
- Boolean
Applies to
ASP.NET Core 9.0 and other versions
Product | Versions |
---|---|
ASP.NET Core | 7.0, 8.0, 9.0 |