mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 09:35:43 -05:00
34 lines
970 B
C#
34 lines
970 B
C#
//
|
|
// Copyright (c) Microsoft. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
//
|
|
|
|
namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
|
|
{
|
|
/// <summary>
|
|
/// Class associated with batch parser execution errors
|
|
/// </summary>
|
|
internal class BatchParserExecutionErrorEventArgs : BatchErrorEventArgs
|
|
{
|
|
private readonly ScriptMessageType messageType;
|
|
|
|
/// <summary>
|
|
/// Constructor method for BatchParserExecutionErrorEventArgs class
|
|
/// </summary>
|
|
public BatchParserExecutionErrorEventArgs(string errorLine, string message, ScriptMessageType messageType)
|
|
: base(errorLine, message, null)
|
|
{
|
|
this.messageType = messageType;
|
|
}
|
|
|
|
public ScriptMessageType MessageType
|
|
{
|
|
get
|
|
{
|
|
return messageType;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|