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

LogActivity.SetFailure Method

Overload List
  NameDescription
Public methodSetFailure()
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure with the default failure message.
Public methodSetFailure(String)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a parameterless failure message.
Public methodSetFailure(CallerInfo)
Public methodSetFailure(String, CallerInfo)
Public methodSetFailure(String, Object[])
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a failure message with an array of parameters.
Public methodSetFailure<T1>(String, T1)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a failure message with 1 parameter.
Public methodSetFailure(String, Object[], CallerInfo)
Public methodSetFailure<T1>(String, T1, CallerInfo)
Public methodSetFailure<T1, T2>(String, T1, T2)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a failure message with 2 parameters.
Public methodSetFailure<T1, T2>(String, T1, T2, CallerInfo)
Public methodSetFailure<T1, T2, T3>(String, T1, T2, T3)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a failure message with 3 parameters.
Public methodSetFailure<T1, T2, T3>(String, T1, T2, T3, CallerInfo)
Public methodSetFailure<T1, T2, T3, T4>(String, T1, T2, T3, T4)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a failure message with 4 parameters.
Public methodSetFailure<T1, T2, T3, T4>(String, T1, T2, T3, T4, CallerInfo)
Public methodSetFailure<T1, T2, T3, T4, T5>(String, T1, T2, T3, T4, T5)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a failure message with 5 parameters.
Public methodSetFailure<T1, T2, T3, T4, T5>(String, T1, T2, T3, T4, T5, CallerInfo)
Public methodSetFailure<T1, T2, T3, T4, T5, T6>(String, T1, T2, T3, T4, T5, T6)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a failure message with 6 parameters.
Public methodSetFailure<T1, T2, T3, T4, T5, T6>(String, T1, T2, T3, T4, T5, T6, CallerInfo)
Public methodSetFailure<T1, T2, T3, T4, T5, T6, T7>(String, T1, T2, T3, T4, T5, T6, T7)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a failure message with 7 parameters.
Public methodSetFailure<T1, T2, T3, T4, T5, T6, T7>(String, T1, T2, T3, T4, T5, T6, T7, CallerInfo)
Public methodSetFailure<T1, T2, T3, T4, T5, T6, T7, T8>(String, T1, T2, T3, T4, T5, T6, T7, T8)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a failure message with 8 parameters.
Public methodSetFailure<T1, T2, T3, T4, T5, T6, T7, T8>(String, T1, T2, T3, T4, T5, T6, T7, T8, CallerInfo)
Public methodSetFailure<T1, T2, T3, T4, T5, T6, T7, T8, T9>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a failure message with 9 parameters.
Public methodSetFailure<T1, T2, T3, T4, T5, T6, T7, T8, T9>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9, CallerInfo)
Public methodSetFailure<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with failure and specifies a failure message with 10 parameters.
Public methodSetFailure<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, CallerInfo)
See Also