PostSharp4.3/API Reference/Post­Sharp.​Aspects Namespace/On­Exception­Aspect Class/On­Exception­Aspect Methods/On­Exception­Aspect.​Get­Exception­Type Method
OnExceptionAspect.GetExceptionType Method
Gets the type of exception handled by this aspect.

Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public virtual Type GetExceptionType(
	MethodBase targetMethod
)

Parameters

targetMethod
Type: System.Reflection.MethodBase
Method to which the current aspect is applied.

Return Value

Type: Type
The type (derived from Exception) of exceptions handled by this aspect.
See Also