NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

COMException Class

Represents the exception that is thrown when there is a COM Interop error.

Object
   Exception
      SystemException
         ExternalException
            COMException

[Visual Basic]
Public Class COMException
   Inherits ExternalException
[C#]
public class COMException : ExternalException
[C++]
public __gc class COMException : public ExternalException
[JScript]
public class COMException extends ExternalException

Remarks

A COMException is the exception class that is thrown for all errors from COM Interop in which the HResult is not recognized.

Requirements

Namespace: System.Runtime.InteropServices

Assembly: mscorlib.dll

See Also

COMException Members | System.Runtime.InteropServices Namespace