WebSocket.Dispose Method  
Definition
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.
Used to clean up unmanaged resources for ASP.NET and self-hosted implementations.
public:
 abstract void Dispose();public abstract void Dispose();abstract member Dispose : unit -> unitPublic MustOverride Sub Dispose ()