Partager via


IModelBus.LogError Method

Logs an error message.

Namespace:  Microsoft.VisualStudio.Modeling.Integration
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)

Syntax

'Déclaration
Sub LogError ( _
    errorCategory As ErrorCategory, _
    message As String _
)
void LogError(
    ErrorCategory errorCategory,
    string message
)
void LogError(
    ErrorCategory errorCategory, 
    String^ message
)
abstract LogError : 
        errorCategory:ErrorCategory * 
        message:string -> unit 
function LogError(
    errorCategory : ErrorCategory, 
    message : String
)

Parameters

  • message
    Type: System.String
    The text of the message to be logged

.NET Framework Security

See Also

Reference

IModelBus Interface

Microsoft.VisualStudio.Modeling.Integration Namespace