Language

CacheException.GetObjectData Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

The interface that is used for serialization.

Namespace: System.Data.Caching
Assembly: CacheBaseLibrary (in cachebaselibrary.dll)

Syntax

'Declaration
Public Overrides Sub GetObjectData ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
'Usage
Dim instance As CacheException
Dim info As SerializationInfo
Dim context As StreamingContext

instance.GetObjectData(info, context)
public override void GetObjectData (
    SerializationInfo info,
    StreamingContext context
)
public:
virtual void GetObjectData (
    SerializationInfo^ info, 
    StreamingContext context
) override
public void GetObjectData (
    SerializationInfo info, 
    StreamingContext context
)
public override function GetObjectData (
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

  • info
    The SerializationInfo class used to store all the data that you need to serialize the exception.
  • context
    The StreamingContext class used to describe the source and destination of the exception.

See Also

Reference

CacheException Class
CacheException Members
System.Data.Caching Namespace