PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / ILog­Activity Interface / ILog­Activity Methods / ILog­Activity.​Set­Outcome(TMessage) Method

ILogActivity.SetOutcome<TMessage> Method

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.19.0 (6.5.19.0)
Syntax
C#
void SetOutcome<TMessage>(
	LogLevel level,
	 in TMessage message,
	Exception exception = null,
	 in CloseActivityOptions options = null
)
where TMessage : IMessage

Parameters

level
Type: PostSharp.Patterns.Diagnostics.LogLevel
message
Type: TMessageInAttribute
exception (Optional)
Type: System.Exception
options (Optional)
Type: PostSharp.Patterns.Diagnostics.CloseActivityOptionsInAttribute

Type Parameters

TMessage
See Also