This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
IErrorHandler
The IErrorHandler interface defines a set of methods for reporting compilation errors.
Methods
The IErrorHandler interface defines the following methods.
Method |
Description |
Error(Int32, String) |
Adds the specified nonfatal error message and source file line number to the list of compilation errors. |
Fatal(Int32, String) |
Throws an ApplicationException when a fatal error is encountered during compilation, and returns the line number as well as an appropriate error message. |
SetSourceName(String) |
Sets the name of the source file whose compilation produced the errors. |
Properties
The IErrorHandler interface has the following properties.
IErrorHandler.ErrorMessages
Data type: ArrayListAccess type: Read-onlyContains a collection of nonfatal error messages generated at compilation time.
IErrorHandler.SourceName
Data type: External .NET Framework Class Reference Access type: Read-onlyContains the name of the source file whose compilation produced the errors.
Requirements
Redistributable: Requires Microsoft Office Communications Server 2007
Namespace:Microsoft.Rtc.Sip Namespace
Assembly: ServerAgent (in ServerAgent.dll)