System.Net.Sockets.Socket.Finalize Method

Frees resources used by the System.Net.Sockets.Socket class.

Syntax

void Finalize ()

Remarks

The System.Net.Sockets.Socket class finalizer calls the Socket.Close method to close the System.Net.Sockets.Socket and free resources associated with the System.Net.Sockets.Socket.

Requirements

Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0