API Reference
Class
LogEventArgs
Provides details about a logging event.
Inheritance
- EventArgs
- LogEventArgs
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
- Method IProgressSink.OnDebug
- Method IProgressSink.OnError
- Method IProgressSink.OnInformation
- Method IProgressSink.OnProgress
- Method IProgressSink.OnVerbose
- Method IProgressSink.OnWarning
Constructors
LogEventArgs 3 overloads
public LogEventArgs(String message, Object[] args) #Initializes a new instance of the LogEventArgs class.
Parameters
- message System.String
- args System.Object[]
public LogEventArgs(String message) #Initializes a new instance of the LogEventArgs class.
Parameters
- message System.String
public LogEventArgs(String activity, String currentOperation, Nullable<Int32> currentSteps, Nullable<Int32> totalSteps, Nullable<Int32> percentage) #Initializes a new instance of the LogEventArgs class.
Parameters
- activity System.String
- currentOperation System.String
- currentSteps System.Nullable{System.Int32}
- totalSteps System.Nullable{System.Int32}
- percentage System.Nullable{System.Int32}
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String Code { get; set; } #Optional structured event code.
public Nullable<Int32> ProgressPercentage { get; set; } #Progress percentage
public Nullable<Int32> ProgressTotalSteps { get; set; } #Progress total steps
public Nullable<Int32> ProgressCurrentSteps { get; set; } #Progress current steps
public String ProgressCurrentOperation { get; set; } #Progress current operation
public String ProgressActivity { get; set; } #Progress activity
public String FullMessage { get; set; } #Message to be written including arguments substitution
public String Message { get; set; } #Message to be written
public Object[] Args { get; set; } #Gets or sets the args value.