你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BicepErrorMessage Class
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.
Represents an error or warning from an external Bicep processing tool. The RawText will always be present and the other members will optionally be available if we are able to parse the message.
public class BicepErrorMessage
type BicepErrorMessage = class
Public Class BicepErrorMessage
- Inheritance
-
BicepErrorMessage
Properties
Code |
Optional error code describing the error. If this is not provided then defer to the RawText. |
ColumnNumber |
Optional column number in FilePath containing the error. If this is not provided then defer to the RawText. |
FilePath |
Optional file path containing the error. If this is not provided then defer to the RawText. |
IsError | |
LineNumber |
Optional line number in FilePath containing the error. If this is not provided then defer to the RawText. |
Message |
Optional error message explaining the error. If this is not provided then defer to the RawText. |
RawText |
Gets the raw text of the Bicep tool message. |
Methods
ToString() |
Returns a string that represents the current object. |