DekGenius.com
[ Team LiB ] Previous Section Next Section

ErrorWrapper

System.Runtime.InteropServices (mscorlib.dll)sealed class

This wrapper is used to force an integer, Exception, or other object to be marshaled as type VT_ERROR.

public sealed class ErrorWrapper {
// Public Constructors
   public ErrorWrapper(Exception e);
   public ErrorWrapper(int errorCode);
   public ErrorWrapper(object errorCode);
// Public Instance Properties
   public int ErrorCode{get; }
}
    [ Team LiB ] Previous Section Next Section