Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Logs an error
Namespace: Microsoft.VisualStudio.Modeling.Integration
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)
Syntax
'Declaration
Public Sub LogError ( _
errorCategory As ErrorCategory, _
message As String _
)
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 final function LogError(
errorCategory : ErrorCategory,
message : 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)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.