PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Log­Activity Class / Log­Activity Methods / Log­Activity.​Set­Exception Method

LogActivity.SetException Method

Overload List
  NameDescription
Public methodSetException(Exception)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with a given Exception.
Public methodSetException(Exception, CallerInfo)
See Also