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!

Exception Members

Public:

Constructor

Exception Constructor Overloaded. Initializes a new instance of the Exception class.

Properties

HelpLink Retrieves a link to the help file associated with this exception.
InnerException Retrieves a reference to an inner (that may be nested) exception.
Message Retrieves the message text.
Source Retrieves or assigns a string containing the name of the application or the object that has generated the error.
StackTrace Retrieves the stack trace, which is valuable for determining where the error occurred.
TargetSite [To be supplied.]

Methods

Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
GetBaseException Returns the original exception that caused that exception and other exceptions linked to it.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetObjectData Accesses the method that contains the context of the data from the source or destination.
GetType (inherited from Object) Gets the Type of the Object.
SetHelpLink Sets the HelpLink property of this exception.
SetObjectData Sets the object that contains the context of the data from the source or destination.
ToString Returns the fully qualified name of this exception and the message held by the Message property.

Protected:

Constructor

Exception Constructor Overloaded. Initializes a new instance of the Exception class.

Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

Fields

HResult Protected. Returns a HResult.

See Also

Exception Class | System Namespace