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 message.
Namespace: Microsoft.VisualStudio.Modeling.Integration
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)
Syntax
'Declaration
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
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
.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.