MsmqPoisonMessageException.GetObjectData Method (SerializationInfo, StreamingContext)

 

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

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

[SecurityCriticalAttribute]
[SecurityPermissionAttribute(SecurityAction.LinkDemand, SerializationFormatter = true)]
public override void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo

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

context
Type: System.Runtime.Serialization.StreamingContext

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

.NET Framework
Available since 3.0
Return to top
Show: