This topic has not yet been rated - Rate this topic

TaskLoggingHelper Members

Provides helper logging methods used by tasks.

The following tables list the members exposed by the TaskLoggingHelper type.

  Name Description
Public method TaskLoggingHelper Initializes a new instance of the TaskLoggingHelper class and associates it with the specified task instance.
Top
(see also Protected Properties )
  Name Description
Public property HasLoggedErrors Gets a value that indicates whether the task has logged any errors through this logging helper object.
Public property HelpKeywordPrefix Gets or sets the prefix used to compose Help keywords from resource names.
Public property TaskResources Gets or sets the culture-specific resources used by the logging methods.
Top
  Name Description
Protected property BuildEngine Gets the build engine that is associated with the task.
Protected property TaskName Gets the name of the parent task.
Top
(see also Protected Methods )
  Name Description
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  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method ExtractMessageCode Extracts the message code prefix from the given full message string.
Public method FormatResourceString Loads the specified resource string and optionally formats it using the given arguments.
Public method FormatString Formats the given string using the given arguments.
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (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.
Public method LogExternalProjectStarted Helps log the custom ExternalProjectStartedEventArgs build event.
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.
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.
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.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top
  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Overloaded. (Inherited from MarshalByRefObject.)
Top
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.