Marshal.GetExceptionForHR 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.
Namespace:
System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly: mscorlib (in mscorlib.dll)
Parameters
- errorCode
- Type: System.Int32
The HRESULT to be converted.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.