AccessViolationException | The exception that is thrown when there is an attempt to read or write protected memory. |
AmbiguousMatchException | The exception that is thrown when binding to a member results in more than one member matching the binding criteria. |
ApplicationException | Serves as the base class for application-defined exceptions. |
ArgumentException | The exception that is thrown when one of the arguments provided to a method is not valid. |
ArgumentNullException | The exception that is thrown when a null reference is passed to a method that does not accept it as a valid argument. |
ArgumentOutOfRangeException | The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. |
ArithmeticException | The exception that is thrown for errors in an arithmetic, casting, or conversion operation. |
ArrayTypeMismatchException | The exception that is thrown when an attempt is made to store an element of the wrong type within an array. |
CookieException | The exception that is thrown when an error is made adding a Cookie to a CookieContainer. |
CryptographicException | The exception that is thrown when an error occurs during a cryptographic operation. |
CryptographicUnexpectedOperationException | The exception that is thrown when an unexpected operation occurs during a cryptographic operation. |
DecoderFallbackException | The exception that is thrown when a decoder fallback operation fails. |
DirectoryNotFoundException | The exception that is thrown when part of a file or directory cannot be found. |
DivideByZeroException | The exception that is thrown when there is an attempt to divide an integral value by zero. |
EncoderFallbackException | The exception that is thrown when an encoder fallback operation fails. |
EndOfStreamException | The exception that is thrown when reading is attempted past the end of a stream. |
Exception | Represents errors that occur during application execution. |
ExternalException | The base exception type for all COM interop exceptions and structured exception handling (SEH) exceptions. |
FieldAccessException | The exception that is thrown when there is an invalid attempt to access a private or protected field inside a class. |
FileNotFoundException | The exception that is thrown when an attempt to access a file that does not exist on disk fails. |
FormatException | The exception that is thrown when the format of an argument is invalid, or when a composite format string is not well formed. |
IndexOutOfRangeException | The exception that is thrown when an attempt is made to access an element of an array or collection with an index that is outside its bounds. |
InvalidCastException | The exception that is thrown for invalid casting or explicit conversion. |
InvalidDataException | The exception that is thrown when a data stream is in an invalid format. |
InvalidEnumArgumentException | The exception that is thrown when an invalid enumeration value is used. |
InvalidOperationException | The exception that is thrown when a method call is invalid for the object’s current state. |
InvalidPrinterException | Represents the exception that is thrown when you try to access a printer using printer settings that are not valid. |
IOException | The exception that is thrown when an I/O error occurs. |
KeyNotFoundException | The exception that is thrown when the key specified for accessing an element in a collection does not match any key in the collection. |
MemberAccessException | The exception that is thrown when an attempt to access a class member fails. |
MissingManifestResourceException | The exception that is thrown if the package does not contain the resources for the neutral culture. |
MulticastNotSupportedException | The exception that is thrown when there is an attempt to combine two delegates based on the Delegate type instead of the MulticastDelegate type. |
NotImplementedException | The exception that is thrown when a requested method or operation is not implemented. |
NotSupportedException | The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. |
NullReferenceException | The exception that is thrown when there is an attempt to dereference a null object reference. |
ObjectDisposedException | The exception that is thrown when an operation is performed on a disposed object. |
OperationCanceledException | The exception that is thrown in a thread upon cancellation of an operation that the thread was executing. |
OutOfMemoryException | The exception that is thrown when there is not enough memory to continue the execution of a program. |
OverflowException | The exception that is thrown when an arithmetic, casting, or conversion operation in a checked context results in an overflow. |
ProtocolViolationException | The exception that is thrown when an error is made while using a network protocol. |
RankException | The exception that is thrown when an array with the wrong number of dimensions is passed to a method. |
SecurityException | The exception that is thrown when a security error is detected. |
SerializationException | The exception thrown when an error occurs during serialization or deserialization. |
SocketException | The exception that is thrown when a socket error occurs. |
SynchronizationLockException | The exception that is thrown when a method requires the caller to own the lock on a given Monitor, and the method is invoked by a caller that does not own that lock. |
SystemException | Serves as the base class for system exceptions. |
TargetException | Represents the exception that is thrown when an attempt is made to invoke an invalid target. |
TargetInvocationException | The exception that is thrown by methods invoked through reflection. |
TargetParameterCountException | The exception that is thrown when the number of parameters for an invocation does not match the number expected. |
ThreadAbortException | The exception that is thrown when a call is made to the Abort(Object) method. |
ThreadInterruptedException | The exception that is thrown when a Thread is interrupted while it is in a waiting state. |
ThreadStateException | The exception that is thrown when a Thread is in an invalid ThreadState for the method call. |
TypeLoadException | The exception that is thrown when type-loading failures occur. |
UpaException | UPA violations will throw this exception. |
UriFormatException | The exception that is thrown when an invalid Uniform Resource Identifier (URI) is detected. |
WebException | The exception that is thrown when an error occurs while accessing the network through a pluggable protocol. |
Win32Exception | Throws an exception for a Win32 error code. |
XmlException | Returns detailed information about the last exception. |
XmlSchemaException | Returns detailed information about the schema exception. |
XmlSchemaValidationException | Represents the exception thrown when XML Schema Definition Language (XSD) schema validation errors and warnings are encountered in an XML document being validated. |
XPathException | Provides the exception thrown when an error occurs while processing an XPath expression. |