TmdlFormatException Class

Definition

IMPORTANT: TMDL is still in preview and the API surface might still be modified prior to GA!

   Represents an exception that is raised when a failure in parsing a TMDL document is caused by invalid format.
[System.Serializable]
public sealed class TmdlFormatException : Microsoft.AnalysisServices.Tabular.TomException
[<System.Serializable>]
type TmdlFormatException = class
    inherit TomException
Public NotInheritable Class TmdlFormatException
Inherits TomException
Inheritance
TmdlFormatException
Attributes

Properties

Document

IMPORTANT: TMDL is still in preview and the API surface might still be modified prior to GA!

Gets the document that is the subject of the parsing failure.

HasDocumentSourceInfo

IMPORTANT: TMDL is still in preview and the API surface might still be modified prior to GA!

Gets a value indicating whether the exception can return information regarding the related TMDL source.

Line

Gets the line number in the document that caused the parsing failure.

LineText

IMPORTANT: TMDL is still in preview and the API surface might still be modified prior to GA!

Gets the text of the line in the document that caused the parsing failure.

Methods

GetObjectData(SerializationInfo, StreamingContext)
Obsolete.

When overridden in a derived class, sets the SerializationInfo with information about the exception.

Applies to