ErrorWrapper

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; } } 


C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net