Allows the formatting of the log message caption to be overridden.
'Declaration
Protected Overridable Function FormatCaption( _
ByVal As PostSharp.Aspects.LocationInterceptionArgs, _
ByVal As Object, _
ByVal As Object _
) As String
protected virtual string FormatCaption(
PostSharp.Aspects.LocationInterceptionArgs ,
object ,
object
)
Parameters
- context
- The PostSharp location interception arguments.
- previousValue
- The value that the field is being changed from.
- newValue
- The value that the field is being changed to.
Return Value
A substitute caption to use instead of the default generated caption.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2