Allows the formatting of the log message description to be overridden.
'Declaration
Protected Overridable Function FormatDescription( _
ByVal As PostSharp.Aspects.LocationInterceptionArgs, _
ByVal As Object, _
ByVal As Object _
) As String
protected virtual string FormatDescription(
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 description to use instead of the default generated description.
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