MsmqPoisonMessageException.GetObjectData(SerializationInfo, StreamingContext) MsmqPoisonMessageException.GetObjectData(SerializationInfo, StreamingContext) MsmqPoisonMessageException.GetObjectData(SerializationInfo, StreamingContext) MsmqPoisonMessageException.GetObjectData(SerializationInfo, StreamingContext) Method

Définition

Extrait les données sérialisées associées à l'exception MsmqPoisonMessageException et la source et la destination du flux sérialisé associé à l'exception MsmqPoisonMessageException.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);
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Overrides Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

Paramètres

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

Instance SerializationInfo pour conserver les données sérialisées associées à l'exception MsmqPoisonMessageException.A SerializationInfo instance to hold the serialized data associated with the MsmqPoisonMessageException.

context
StreamingContext StreamingContext StreamingContext StreamingContext

Instance StreamingContext pour conserver la source et la destination du flux sérialisé associé à l'MsmqPoisonMessageException.A StreamingContext instance to hold the source and destination of the serialized stream associated with the MsmqPoisonMessageException.

S’applique à