Share via


WebManagementServiceException.ISerializable.GetObjectData Method

Definition

Returns the serialized object data about the exception.

 virtual void System.Runtime.Serialization.ISerializable.GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context) = System::Runtime::Serialization::ISerializable::GetObjectData;
void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
Sub GetObjectData (info As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData

Parameters

info
SerializationInfo

The SerializationInfo object that contains the serialized object data about the exception that is being thrown.

context
StreamingContext

The StreamingContext object that contains contextual information about the source or destination.

Implements

Remarks

The <xref:Microsoft.Web.Management.Server.WebManagementServiceException.System.Runtime.Serialization.ISerializable.GetObjectData%2A> method returns a SerializationInfo object that contains all the exception object data that is targeted for serialization. During deserialization, the exception is reconstituted from the SerializationInfo that was transmitted over the stream.

Applies to