GetObjectData Method
Collapse the table of content
Expand the table of content

MessageQueueException.GetObjectData Method

Populates a serialization information object with the data needed to serialize the MessageQueueException.

[Visual Basic]
Overrides Public Sub GetObjectData( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
) Implements ISerializable.GetObjectData
[C#]
public override void GetObjectData(
 SerializationInfo info,
 StreamingContext context
);
[C++]
public: void GetObjectData(
 SerializationInfo* info,
 StreamingContext context
);
[JScript]
public override function GetObjectData(
   info : SerializationInfo,
 context : StreamingContext
);

Parameters

info
A SerializationInfo that holds the serialized data associated with the MessageQueueException.
context
A StreamingContext that contains the source and destination of the serialized stream associated with the MessageQueueException.

Implements

ISerializable.GetObjectData

Exceptions

Exception Type Condition
ArgumentNullException The info parameter is a null reference (Nothing in Visual Basic).

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

MessageQueueException Class | MessageQueueException Members | System.Messaging Namespace | SerializationInfo | StreamingContext

Show:
© 2016 Microsoft