Exception.GetType Method ()

 

Gets the runtime type of the current instance.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

Public Function GetType As Type

Return Value

Type: System.Type

A Type object that represents the exact runtime type of the current instance.

The GetType method exists to support the .NET Framework infrastructure, and internally invokes the fundamental method, Object.GetType.

.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: