NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

FileStream.Finalize

Called by the garbage collector when the current object is ready to be finalized.

[Visual Basic]
Overrides Protected Sub Finalize()
[C#]
protected override void Finalize();
[C++]
protected: override void Finalize();
[JScript]
protected override function Finalize();

Exceptions

Exception Type Condition
IOException An I/O error occurs.

Remarks

Finalize closes the FileStream.

See Also

FileStream Class | FileStream Members | System.IO Namespace