WebManagementServiceException.ISerializable.GetObjectData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.