Share via


TmdlSerializationException Class

Definition

Represents an exception that is raised when a failure in serialization to\from TMDL occurs.

[System.Serializable]
public sealed class TmdlSerializationException : Microsoft.AnalysisServices.Tabular.TomException
[<System.Serializable>]
type TmdlSerializationException = class
    inherit TomException
Public NotInheritable Class TmdlSerializationException
Inherits TomException
Inheritance
TmdlSerializationException
Attributes

Properties

Document

Gets the document that is the subject of the serialization 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 serialization failure.

Methods

GetObjectData(SerializationInfo, StreamingContext)
Obsolete.

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

Applies to