Exception.GetType Method

Gets the runtime type of the current instance.

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

public Type GetType()

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft