Name

ErrorWrapper

Synopsis

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 method ErrorWrapper(Exception e);  
   public method ErrorWrapper(int errorCode);  
   public method ErrorWrapper(object errorCode);  
// Public Instance Properties
   public field int ErrorCode{get; } 
}

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.