Share via


XmlSerializationException.GetObjectData Method (SerializationInfo, StreamingContext)

 

Applies To: SQL Server (starting with 2016)

Populates a SerializationInfo with the data needed to serialize the target object.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)

Syntax

[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData(
    SerializationInfo info,
    StreamingContext context
)
public:
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)]
virtual void GetObjectData(
    SerializationInfo^ info,
    StreamingContext context
) override
[<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)>]
override GetObjectData : 
        info:SerializationInfo *
        context:StreamingContext -> unit
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)>
Public Overrides Sub GetObjectData (
    info As SerializationInfo,
    context As StreamingContext
)

Parameters

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)_Exception.GetObjectData(SerializationInfo, StreamingContext)

See Also

XmlSerializationException Class
Microsoft.AnalysisServices Namespace

Return to top