Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AspNetWebSocket.Dispose Method

.NET Framework 4.6 and 4.5

Releases all resources used by an AspNetWebSocket object.

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

public override void Dispose()

Implements

IDisposable.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

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft