Export (0) Print
Expand All

TaskLoggingHelper Methods

The TaskLoggingHelper type exposes the following members.

  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(Object) 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.
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 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 the default hash function. (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 GetResourceMessage Gets the message from resource in task library.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService InitializeLifetimeService is called when the remote object is activated. This method will determine how long the lifetime for the object will be. Thread safe. However, InitializeLifetimeService and MarkAsInactive should only be called in that order, together or not at all, and no more than once. (Overrides MarshalByRefObject.InitializeLifetimeService().)
Public method LogCommandLine(String) Logs the command line for an underlying tool, executable file, or shell command of a task.
Public method LogCommandLine(MessageImportance, String) Logs the command line for an underlying tool, executable file, or shell command of a task using the specified importance level.
Public method LogCriticalMessage Logs a critical message using the specified string and other message details. Thread safe.
Public method LogError(String, Object[]) Logs an error with the specified message.
Public method LogError(String, String, String, String, Int32, Int32, Int32, Int32, String, Object[]) Logs an error using the specified message and other error details.
Public method LogErrorFromException(Exception) Logs an error using the message from the given exception.
Public method LogErrorFromException(Exception, Boolean) Logs an error using the message, and optionally the stack trace, from the given exception.
Public method LogErrorFromException(Exception, Boolean, Boolean, String) Logs an error using the message, and optionally the stack-trace from the given exception and any inner exceptions.
Public method LogErrorFromResources(String, Object[]) Logs an error using the specified resource string.
Public method LogErrorFromResources(String, String, String, String, Int32, Int32, Int32, Int32, String, Object[]) Logs an error using the specified resource string and other error details.
Public method LogErrorWithCodeFromResources(String, Object[]) Logs an error with an error code using the specified resource string.
Public method LogErrorWithCodeFromResources(String, String, Int32, Int32, Int32, Int32, String, Object[]) Logs an error using the specified resource string and other error details.
Public method LogExternalProjectFinished Helps log the custom ExternalProjectFinishedEventArgs build event.
Public method LogExternalProjectStarted Helps log the custom ExternalProjectStartedEventArgs build event.
Public method LogMessage(String, Object[]) Logs a message with the specified string.
Public method LogMessage(MessageImportance, String, Object[]) Logs a message with the specified string and importance.
Public method LogMessage(String, String, String, String, Int32, Int32, Int32, Int32, MessageImportance, String, Object[]) Logs a message using the specified string and other message details. Thread safe.
Public method LogMessageFromResources(String, Object[]) Logs a message with the specified resource string.
Public method LogMessageFromResources(MessageImportance, String, Object[]) Logs a message with the specified resource string and importance.
Public method LogMessageFromText Logs an error message or warning from the given line of text.
Public method LogMessagesFromFile(String) Logs errors, warnings, and messages for each line of text in the given file.
Public method LogMessagesFromFile(String, MessageImportance) Logs errors, warnings, and messages for each line of text in the given file. Also logs the importance of messages.
Public method LogMessagesFromStream Logs an error message or warning from the given stream.
Public method LogWarning(String, Object[]) Logs a warning with the specified message.
Public method LogWarning(String, String, String, String, Int32, Int32, Int32, Int32, String, Object[]) Logs a warning using the specified message and other warning details.
Public method LogWarningFromException(Exception) Logs a warning using the message from the specified exception.
Public method LogWarningFromException(Exception, Boolean) Logs a warning using the message, and optionally the stack trace, from the given exception.
Public method LogWarningFromResources(String, Object[]) Logs a warning using the specified resource string.
Public method LogWarningFromResources(String, String, String, String, Int32, Int32, Int32, Int32, String, Object[]) Logs a warning using the specified resource string and other warning details.
Public method LogWarningWithCodeFromResources(String, Object[]) Logs a warning with a warning code using the specified resource string.
Public method LogWarningWithCodeFromResources(String, String, Int32, Int32, Int32, Int32, String, Object[]) Logs a warning with a warning code using the specified resource string and other warning details.
Public method MarkAsInactive Notifies this TaskLoggingHelper that it is no longer needed.
Protected method MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show:
© 2014 Microsoft