Export (0) Print
Expand All

TaskLoggingHelperExtension Members

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.

The TaskLoggingHelperExtension type exposes the following members.

  NameDescription
Public method TaskLoggingHelperExtension Infrastructure. Initializes a new instance of the TaskLoggingHelperExtension class with the task instance, primary resources, shared resources, and a Help keyword prefix.
Top

  NameDescription
Public method 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.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method ExtractMessageCode Extracts the message code prefix from the given full message string. (Inherited from TaskLoggingHelper.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method 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, Object[]).)
Public method FormatString Formats the given string using the given arguments. (Inherited from TaskLoggingHelper.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method LogCommandLine Overloaded. Logs the command line.
Public method LogError Overloaded. Logs an error.
Public method LogErrorFromException Overloaded. Logs an error using the message from the specified exception.
Public method LogErrorFromResources Overloaded. Logs an error using the specified resource string.
Public method LogErrorWithCodeFromResources Overloaded. Logs an error with an error code using the specified resource string.
Public method LogExternalProjectFinished Helps log the custom ExternalProjectFinishedEventArgs build event. (Inherited from TaskLoggingHelper.)
Public method LogExternalProjectStarted Helps log the custom ExternalProjectStartedEventArgs build event. (Inherited from TaskLoggingHelper.)
Public method LogMessage Overloaded. Logs a message with the specified string.
Public method LogMessageFromResources Overloaded. Logs a message with the specified resource string.
Public method LogMessageFromText Logs an error message or warning from the given line of text. (Inherited from TaskLoggingHelper.)
Public method LogMessagesFromFile Overloaded. Logs errors, warnings, and messages for each line of text in the given file.
Public method LogMessagesFromStream Logs an error message or warning from the given stream. (Inherited from TaskLoggingHelper.)
Public method LogWarning Overloaded. Logs a warning.
Public method LogWarningFromException Overloaded. Logs a warning using the message from the specified exception.
Public method LogWarningFromResources Overloaded. Logs a warning using the specified resource string.
Public method LogWarningWithCodeFromResources Overloaded. Logs a warning with a warning code using the specified resource string.
Protected method MemberwiseClone Overloaded.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Protected property BuildEngine Gets the build engine that is associated with the task. (Inherited from TaskLoggingHelper.)
Public property HasLoggedErrors Gets a value that indicates whether the task has logged any errors through this logging helper object. (Inherited from TaskLoggingHelper.)
Public property HelpKeywordPrefix Gets or sets the prefix used to compose Help keywords from resource names. (Inherited from TaskLoggingHelper.)
Protected property TaskName Gets the name of the parent task. (Inherited from TaskLoggingHelper.)
Public property TaskResources Gets or sets the culture-specific resources used by the logging methods. (Inherited from TaskLoggingHelper.)
Public property TaskSharedResources Infrastructure. Gets or sets the shared UI and string resources.
Top

Community Additions

ADD
Show:
© 2015 Microsoft