Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Logs an error
Namespace:   Microsoft.VisualStudio.Modeling.Integration
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)
Syntax
public void LogError(
    ErrorCategory errorCategory,
    string message
)
public:
virtual void LogError(
    ErrorCategory errorCategory,
    String^ message
) sealed
abstract LogError : 
        errorCategory:ErrorCategory *
        message:string -> unit
override LogError : 
        errorCategory:ErrorCategory *
        message:string -> unit
Public Sub LogError (
    errorCategory As ErrorCategory,
    message As String
)
Parameters
- errorCategory 
 Type: Microsoft.VisualStudio.Modeling.Integration.ErrorCategory- Indicates the severity of the error being logged 
- message 
 Type: System.String- The text of the message to be logged 
Implements
IModelBus.LogError(ErrorCategory, String)
Return Value
See Also
ModelBus Class
Microsoft.VisualStudio.Modeling.Integration Namespace
Return to top