AspNetWebSocket.Dispose Method ()

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Releases all resources used by an AspNetWebSocket object.

Namespace:   System.Web.WebSockets
Assembly:  System.Web (in System.Web.dll)

public override void Dispose()

ASP.NET automatically calls the Dispose method on a AspNetWebSocket object to release any resources that remain after your code has finished executing.

.NET Framework
Available since 4.5
Return to top