OnExceptionAspect.GetExceptionType Method |
Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 6.10.14.0 (6.10.14.0)
public virtual Type GetExceptionType( MethodBase targetMethod )
Parameters
- targetMethod
- Type: System.Reflection.MethodBase
Method to which the current aspect is applied.
Return Value
Type: TypeThe type (derived from Exception) of exceptions handled by this aspect.