DiagnosticItem.Message Method

Definition

Overloads

Message(ErrorCode, IEnumerable<String>)
Message(InformationCode, IEnumerable<String>)
Message(WarningCode, IEnumerable<String>)

Message(ErrorCode, IEnumerable<String>)

public static string Message (Microsoft.Quantum.QsCompiler.Diagnostics.ErrorCode code, System.Collections.Generic.IEnumerable<string> args);
Public Shared Function Message (code As ErrorCode, args As IEnumerable(Of String)) As String

Parameters

code
ErrorCode

Returns

String

Applies to

Message(InformationCode, IEnumerable<String>)

public static string Message (Microsoft.Quantum.QsCompiler.Diagnostics.InformationCode code, System.Collections.Generic.IEnumerable<string> args);
Public Shared Function Message (code As InformationCode, args As IEnumerable(Of String)) As String

Parameters

Returns

String

Applies to

Message(WarningCode, IEnumerable<String>)

public static string Message (Microsoft.Quantum.QsCompiler.Diagnostics.WarningCode code, System.Collections.Generic.IEnumerable<string> args);
Public Shared Function Message (code As WarningCode, args As IEnumerable(Of String)) As String

Parameters

Returns

String

Applies to