Partager via


StorageObjectModelException.GetObjectData Method (SerializationInfo, StreamingContext)

 

Sets the SerializationInfo object with information about the exception.

Namespace:   Microsoft.WindowsServerSolutions.Storage
Assembly:  StorageOM (in StorageOM.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)>
Public Overrides Sub GetObjectData (
    info As SerializationInfo,
    context As StreamingContext
)

Parameters

Implements

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

See Also

StorageObjectModelException Class
Microsoft.WindowsServerSolutions.Storage Namespace

Return to top