Marshal.GetHRForException 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)
[SECURITY CRITICAL]
Namespace:
System.Runtime.InteropServicesConverts the specified exception to an HRESULT.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- e
- Type: System.Exception
The Exception to convert to an HRESULT.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.