MsmqPoisonMessageException.GetObjectData Method

Definition

Retrieves the serialized data associated with the MsmqPoisonMessageException, and the source and destination of the serialized stream associated with the MsmqPoisonMessageException.

public:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Security.SecurityCritical]
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Security.SecurityCritical>]
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Overrides Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

A SerializationInfo instance to hold the serialized data associated with the MsmqPoisonMessageException.

context
StreamingContext

A StreamingContext instance to hold the source and destination of the serialized stream associated with the MsmqPoisonMessageException.

Attributes

Applies to