Finalize Method

Socket.Finalize Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Frees resources used by the Socket class.

Namespace:  System.Net.Sockets
Assembly:  System.Net (in System.Net.dll)

protected override void Finalize()

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft