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
info
Type: System.Runtime.Serialization.SerializationInfoThe SerializationInfo object that holds the serialized data about the exception being thrown.
context
Type: System.Runtime.Serialization.StreamingContextThe StreamingContext object that contains contextual information about the source or destination.
Implements
ISerializable.GetObjectData(SerializationInfo, StreamingContext) _Exception.GetObjectData(SerializationInfo, StreamingContext)
See Also
StorageObjectModelException Class
Microsoft.WindowsServerSolutions.Storage Namespace
Return to top