Share via


TmdlFormatException Class

Definition

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

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

HasDocumentSourceInfo

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

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