IModelBus.LogError Method (ErrorCategory, String)
Logs an error message.
Namespace: Microsoft.VisualStudio.Modeling.Integration
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)
Syntax
void LogError(
ErrorCategory errorCategory,
string message
)
void LogError(
ErrorCategory errorCategory,
String^ message
)
abstract LogError :
errorCategory:ErrorCategory *
message:string -> unit
Sub LogError (
errorCategory As ErrorCategory,
message As String
)
Parameters
errorCategory
Type: Microsoft.VisualStudio.Modeling.Integration.ErrorCategoryIndicates the severity of the error being logged
message
Type: System.StringThe text of the message to be logged
Return Value
See Also
IModelBus Interface
Microsoft.VisualStudio.Modeling.Integration Namespace
Return to top