DiagnosticItem.Message Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- args
- IEnumerable<String>
Returns
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
- code
- InformationCode
- args
- IEnumerable<String>
Returns
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
- code
- WarningCode
- args
- IEnumerable<String>