SafeHandle::ReleaseHandle Method
Silverlight
This type can be used only by trusted applications. If you try to use its members in a partial-trust application, your code will throw a MethodAccessException exception. This type is security-critical, which restricts its use.
Assembly: mscorlib (in mscorlib.dll)
true if the handle is released successfully; otherwise, in the event of a catastrophic failure, false.
[SECURITY CRITICAL]
Namespace:
System.Runtime.InteropServicesWhen overridden in a derived class, executes the code required to free the handle.
Assembly: mscorlib (in mscorlib.dll)
Return Value
Type: System::Booleantrue if the handle is released successfully; otherwise, in the event of a catastrophic failure, false.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
ADD
Show: