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

LogActivity.SetSuccess Method

Ends an activity (opened with [!:OpenActivity(string)] or [!:OpenAsyncActivity(string)] with success with the default success message.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.51.0 (5.0.51.0)
Syntax
C#
public void SetSuccess()
See Also