This documentation is archived and is not being maintained.
TaskLoggingHelperExtension Class
Visual Studio 2010
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Enables logging of various messages. Also, enables loading and formatting of resources.
System::Object
System::MarshalByRefObject
Microsoft.Build.Utilities::TaskLoggingHelper
Microsoft.Build.Tasks::TaskLoggingHelperExtension
System::MarshalByRefObject
Microsoft.Build.Utilities::TaskLoggingHelper
Microsoft.Build.Tasks::TaskLoggingHelperExtension
Assembly: Microsoft.Build.Tasks.v4.0 (in Microsoft.Build.Tasks.v4.0.dll)
The TaskLoggingHelperExtension type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | TaskLoggingHelperExtension | Infrastructure. Initializes a new instance of the TaskLoggingHelperExtension class with the task instance, primary resources, shared resources, and a Help keyword prefix. |
| Name | Description | |
|---|---|---|
![]() | BuildEngine | Gets the build engine that is associated with the task. (Inherited from TaskLoggingHelper.) |
![]() | HasLoggedErrors | Gets a value that indicates whether the task has logged any errors through this logging helper object. (Inherited from TaskLoggingHelper.) |
![]() | HelpKeywordPrefix | Gets or sets the prefix used to compose Help keywords from resource names. (Inherited from TaskLoggingHelper.) |
![]() | TaskName | Gets the name of the parent task. (Inherited from TaskLoggingHelper.) |
![]() | TaskResources | Gets or sets the culture-specific resources used by the logging methods. (Inherited from TaskLoggingHelper.) |
![]() | TaskSharedResources | Infrastructure. Gets or sets the shared UI and string resources. |
| Name | Description | |
|---|---|---|
![]() | CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | ExtractMessageCode | Extracts the message code prefix from the given full message string. (Inherited from TaskLoggingHelper.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | FormatResourceString | Infrastructure. Loads the specified resource string and optionally formats it using the given arguments. The current thread's culture is used for formatting. (Overrides TaskLoggingHelper::FormatResourceString(String, array<Object>).) |
![]() | FormatString | Formats the given string using the given arguments. (Inherited from TaskLoggingHelper.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() | GetResourceMessage | Gets the message from resource in task library. (Inherited from TaskLoggingHelper.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() | LogCommandLine(String) | Logs the command line for an underlying tool, executable file, or shell command of a task. (Inherited from TaskLoggingHelper.) |
![]() | LogCommandLine(MessageImportance, String) | Logs the command line for an underlying tool, executable file, or shell command of a task using the specified importance level. (Inherited from TaskLoggingHelper.) |
![]() | LogError(String, array<Object>) | Logs an error with the specified message. (Inherited from TaskLoggingHelper.) |
![]() | LogError(String, String, String, String, Int32, Int32, Int32, Int32, String, array<Object>) | Logs an error using the specified message and other error details. (Inherited from TaskLoggingHelper.) |
![]() | LogErrorFromException(Exception) | Logs an error using the message from the given exception. (Inherited from TaskLoggingHelper.) |
![]() | LogErrorFromException(Exception, Boolean) | Logs an error using the message, and optionally the stack trace, from the given exception. (Inherited from TaskLoggingHelper.) |
![]() | LogErrorFromException(Exception, Boolean, Boolean, String) | Logs an error using the message, and optionally the stack-trace from the given exception and any inner exceptions. (Inherited from TaskLoggingHelper.) |
![]() | LogErrorFromResources(String, array<Object>) | Logs an error using the specified resource string. (Inherited from TaskLoggingHelper.) |
![]() | LogErrorFromResources(String, String, String, String, Int32, Int32, Int32, Int32, String, array<Object>) | Logs an error using the specified resource string and other error details. (Inherited from TaskLoggingHelper.) |
![]() | LogErrorWithCodeFromResources(String, array<Object>) | Logs an error with an error code using the specified resource string. (Inherited from TaskLoggingHelper.) |
![]() | LogErrorWithCodeFromResources(String, String, Int32, Int32, Int32, Int32, String, array<Object>) | Logs an error using the specified resource string and other error details. (Inherited from TaskLoggingHelper.) |
![]() | LogExternalProjectFinished | Helps log the custom ExternalProjectFinishedEventArgs build event. (Inherited from TaskLoggingHelper.) |
![]() | LogExternalProjectStarted | Helps log the custom ExternalProjectStartedEventArgs build event. (Inherited from TaskLoggingHelper.) |
![]() | LogMessage(String, array<Object>) | Logs a message with the specified string. (Inherited from TaskLoggingHelper.) |
![]() | LogMessage(MessageImportance, String, array<Object>) | Logs a message with the specified string and importance. (Inherited from TaskLoggingHelper.) |
![]() | LogMessageFromResources(String, array<Object>) | Logs a message with the specified resource string. (Inherited from TaskLoggingHelper.) |
![]() | LogMessageFromResources(MessageImportance, String, array<Object>) | Logs a message with the specified resource string and importance. (Inherited from TaskLoggingHelper.) |
![]() | LogMessageFromText | Logs an error message or warning from the given line of text. (Inherited from TaskLoggingHelper.) |
![]() | LogMessagesFromFile(String) | Logs errors, warnings, and messages for each line of text in the given file. (Inherited from TaskLoggingHelper.) |
![]() | LogMessagesFromFile(String, MessageImportance) | Logs errors, warnings, and messages for each line of text in the given file. Also logs the importance of messages. (Inherited from TaskLoggingHelper.) |
![]() | LogMessagesFromStream | Logs an error message or warning from the given stream. (Inherited from TaskLoggingHelper.) |
![]() | LogWarning(String, array<Object>) | Logs a warning with the specified message. (Inherited from TaskLoggingHelper.) |
![]() | LogWarning(String, String, String, String, Int32, Int32, Int32, Int32, String, array<Object>) | Logs a warning using the specified message and other warning details. (Inherited from TaskLoggingHelper.) |
![]() | LogWarningFromException(Exception) | Logs a warning using the message from the specified exception. (Inherited from TaskLoggingHelper.) |
![]() | LogWarningFromException(Exception, Boolean) | Logs a warning using the message, and optionally the stack trace, from the given exception. (Inherited from TaskLoggingHelper.) |
![]() | LogWarningFromResources(String, array<Object>) | Logs a warning using the specified resource string. (Inherited from TaskLoggingHelper.) |
![]() | LogWarningFromResources(String, String, String, String, Int32, Int32, Int32, Int32, String, array<Object>) | Logs a warning using the specified resource string and other warning details. (Inherited from TaskLoggingHelper.) |
![]() | LogWarningWithCodeFromResources(String, array<Object>) | Logs a warning with a warning code using the specified resource string. (Inherited from TaskLoggingHelper.) |
![]() | LogWarningWithCodeFromResources(String, String, Int32, Int32, Int32, Int32, String, array<Object>) | Logs a warning with a warning code using the specified resource string and other warning details. (Inherited from TaskLoggingHelper.) |
![]() | MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
