PostSharp 6.6 / / 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(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<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, 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, 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, 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, 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, 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, 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, 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, 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.
See Also