Свойство | Type | Description | |
---|---|---|---|
BeginInvokeWithErrorMessage | void | ||
CallWithErrorMessage | void | ||
ClearCachedVerbosity | void | ||
ClearQueuedOutput | void | ||
ClearQueuedTasks | void | ||
GetFormattedErrorMessage | string | ||
IndentOutput | void | ||
LogAtImportance | bool | ||
ReportQueuedOutput | void | ||
ReportQueuedTasks | void | ||
SetVerbosity | void | ||
ShowErrorMessage | void | ||
UnindentOutput | void |
Méthode | Description | |
---|---|---|
IDEBuildLogger ( IVsOutputWindowPane output, Microsoft.VisualStudio.Shell.TaskProvider taskProvider, IVsHierarchy hierarchy ) : System |
Constructor. Inititialize member data.
|
|
Initialize ( IEventSource eventSource ) : void |
Overridden from the Logger class.
|
Méthode | Description | |
---|---|---|
BuildFinishedHandler ( object sender, Microsoft.Build.Framework.BuildFinishedEventArgs buildEvent ) : void |
This is the delegate for BuildFinishedHandler events.
|
|
BuildStartedHandler ( object sender, Microsoft.Build.Framework.BuildStartedEventArgs buildEvent ) : void |
This is the delegate for BuildStartedHandler events.
|
|
CustomHandler ( object sender, Microsoft.Build.Framework.CustomBuildEventArgs buildEvent ) : void |
This is the delegate for CustomHandler events.
|
|
ErrorHandler ( object sender, Microsoft.Build.Framework.BuildErrorEventArgs errorEvent ) : void |
This is the delegate for error events.
|
|
MessageHandler ( object sender, Microsoft.Build.Framework.BuildMessageEventArgs messageEvent ) : void |
This is the delegate for Message event types
|
|
ProjectFinishedHandler ( object sender, Microsoft.Build.Framework.ProjectFinishedEventArgs buildEvent ) : void |
This is the delegate for ProjectFinishedHandler events.
|
|
ProjectStartedHandler ( object sender, Microsoft.Build.Framework.ProjectStartedEventArgs buildEvent ) : void |
This is the delegate for ProjectStartedHandler events.
|
|
QueueOutputEvent ( MessageImportance importance, Microsoft.Build.Framework.BuildEventArgs buildEvent ) : void | ||
QueueOutputText ( MessageImportance importance, string text ) : void | ||
QueueOutputText ( string text ) : void | ||
QueueTaskEvent ( Microsoft.Build.Framework.BuildEventArgs errorEvent ) : void | ||
TargetFinishedHandler ( object sender, Microsoft.Build.Framework.TargetFinishedEventArgs buildEvent ) : void |
This is the delegate for TargetFinishedHandler events.
|
|
TargetStartedHandler ( object sender, Microsoft.Build.Framework.TargetStartedEventArgs buildEvent ) : void |
This is the delegate for TargetStartedHandler events.
|
|
TaskFinishedHandler ( object sender, Microsoft.Build.Framework.TaskFinishedEventArgs buildEvent ) : void |
This is the delegate for TaskFinishedHandler events.
|
|
TaskStartedHandler ( object sender, Microsoft.Build.Framework.TaskStartedEventArgs buildEvent ) : void |
This is the delegate for TaskStartedHandler events.
|
|
WarningHandler ( object sender, Microsoft.Build.Framework.BuildWarningEventArgs warningEvent ) : void |
This is the delegate for warning events.
|
Méthode | Description | |
---|---|---|
BeginInvokeWithErrorMessage ( IServiceProvider serviceProvider, |
Call Dispatcher.BeginInvoke, showing an error message if there was a non-critical exception.
|
|
CallWithErrorMessage ( IServiceProvider serviceProvider, System.Action action ) : void |
Show error message if exception is caught when invoking a method
|
|
ClearCachedVerbosity ( ) : void |
Clear the cached verbosity, so that it will be re-evaluated from the build verbosity registry key.
|
|
ClearQueuedOutput ( ) : void | ||
ClearQueuedTasks ( ) : void | ||
GetFormattedErrorMessage ( string fileName, int line, int column, bool isWarning, string errorNumber, string errorText ) : string |
Format error messages for the task list
|
|
IndentOutput ( ) : void | ||
LogAtImportance ( MessageImportance importance ) : bool |
This method takes a MessageImportance and returns true if messages at importance i should be loggeed. Otherwise return false.
|
|
ReportQueuedOutput ( ) : void | ||
ReportQueuedTasks ( ) : void | ||
SetVerbosity ( ) : void |
Sets the verbosity level.
|
|
ShowErrorMessage ( IServiceProvider serviceProvider, |
Show error window about the exception
|
|
UnindentOutput ( ) : void |
protected BuildFinishedHandler ( object sender, Microsoft.Build.Framework.BuildFinishedEventArgs buildEvent ) : void | ||
sender | object | |
buildEvent | Microsoft.Build.Framework.BuildFinishedEventArgs | |
Résultat | void |
protected BuildStartedHandler ( object sender, Microsoft.Build.Framework.BuildStartedEventArgs buildEvent ) : void | ||
sender | object | |
buildEvent | Microsoft.Build.Framework.BuildStartedEventArgs | |
Résultat | void |
protected CustomHandler ( object sender, Microsoft.Build.Framework.CustomBuildEventArgs buildEvent ) : void | ||
sender | object | |
buildEvent | Microsoft.Build.Framework.CustomBuildEventArgs | |
Résultat | void |
protected ErrorHandler ( object sender, Microsoft.Build.Framework.BuildErrorEventArgs errorEvent ) : void | ||
sender | object | |
errorEvent | Microsoft.Build.Framework.BuildErrorEventArgs | |
Résultat | void |
public IDEBuildLogger ( IVsOutputWindowPane output, Microsoft.VisualStudio.Shell.TaskProvider taskProvider, IVsHierarchy hierarchy ) : System | ||
output | IVsOutputWindowPane | |
taskProvider | Microsoft.VisualStudio.Shell.TaskProvider | |
hierarchy | IVsHierarchy | |
Résultat | System |
public Initialize ( IEventSource eventSource ) : void | ||
eventSource | IEventSource | |
Résultat | void |
protected MessageHandler ( object sender, Microsoft.Build.Framework.BuildMessageEventArgs messageEvent ) : void | ||
sender | object | |
messageEvent | Microsoft.Build.Framework.BuildMessageEventArgs | |
Résultat | void |
protected ProjectFinishedHandler ( object sender, Microsoft.Build.Framework.ProjectFinishedEventArgs buildEvent ) : void | ||
sender | object | |
buildEvent | Microsoft.Build.Framework.ProjectFinishedEventArgs | |
Résultat | void |
protected ProjectStartedHandler ( object sender, Microsoft.Build.Framework.ProjectStartedEventArgs buildEvent ) : void | ||
sender | object | |
buildEvent | Microsoft.Build.Framework.ProjectStartedEventArgs | |
Résultat | void |
protected QueueOutputEvent ( MessageImportance importance, Microsoft.Build.Framework.BuildEventArgs buildEvent ) : void | ||
importance | MessageImportance | |
buildEvent | Microsoft.Build.Framework.BuildEventArgs | |
Résultat | void |
protected QueueOutputText ( MessageImportance importance, string text ) : void | ||
importance | MessageImportance | |
text | string | |
Résultat | void |
protected QueueOutputText ( string text ) : void | ||
text | string | |
Résultat | void |
protected QueueTaskEvent ( Microsoft.Build.Framework.BuildEventArgs errorEvent ) : void | ||
errorEvent | Microsoft.Build.Framework.BuildEventArgs | |
Résultat | void |
protected TargetFinishedHandler ( object sender, Microsoft.Build.Framework.TargetFinishedEventArgs buildEvent ) : void | ||
sender | object | |
buildEvent | Microsoft.Build.Framework.TargetFinishedEventArgs | |
Résultat | void |
protected TargetStartedHandler ( object sender, Microsoft.Build.Framework.TargetStartedEventArgs buildEvent ) : void | ||
sender | object | |
buildEvent | Microsoft.Build.Framework.TargetStartedEventArgs | |
Résultat | void |
protected TaskFinishedHandler ( object sender, Microsoft.Build.Framework.TaskFinishedEventArgs buildEvent ) : void | ||
sender | object | |
buildEvent | Microsoft.Build.Framework.TaskFinishedEventArgs | |
Résultat | void |
protected TaskStartedHandler ( object sender, Microsoft.Build.Framework.TaskStartedEventArgs buildEvent ) : void | ||
sender | object | |
buildEvent | Microsoft.Build.Framework.TaskStartedEventArgs | |
Résultat | void |
protected WarningHandler ( object sender, Microsoft.Build.Framework.BuildWarningEventArgs warningEvent ) : void | ||
sender | object | |
warningEvent | Microsoft.Build.Framework.BuildWarningEventArgs | |
Résultat | void |