PostSharp 6.8 / / 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 (String)

LogActivity.SetSuccess Method (String)

Ends an activity (opened with OpenActivity(String) or OpenAsyncActivity(String) with success and specifies a parameterless success message.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.8.6.0 (6.8.6.0)
Syntax
C#
public void SetSuccess(
	string text
)

Parameters

text
Type: System.String
The success message.
See Also