SALES: 1-800-867-1380

GetObjectData Method

The interface that is used for serialization.

Namespace:  Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Core (in Microsoft.ApplicationServer.Caching.Core.dll)

'Declaration
<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags := SecurityPermissionFlag.SerializationFormatter)> _
Public Overrides Sub GetObjectData ( _
	info As SerializationInfo, _
	context As StreamingContext _
)
'Usage
Dim instance As DataCacheException
Dim info As SerializationInfo
Dim context As StreamingContext

instance.GetObjectData(info, context)

Parameters

info
Type: System.Runtime.Serialization..::..SerializationInfo
The SerializationInfo class used to store all the data that you need to serialize the exception.
context
Type: System.Runtime.Serialization..::..StreamingContext
The StreamingContext class used to describe the source and destination of the exception.

Implements

ISerializable..::..GetObjectData(SerializationInfo, StreamingContext)
_Exception..::..GetObjectData(SerializationInfo, StreamingContext)
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft