Udostępnij za pośrednictwem


TempDataDictionary.GetObjectData Method

Populates a SerializationInfo class by using the data that is that is required to serialize the target object.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Protected Overridable Sub GetObjectData ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected virtual void GetObjectData(
    SerializationInfo info,
    StreamingContext context
)
protected:
virtual void GetObjectData(
    SerializationInfo^ info, 
    StreamingContext context
)

Parameters

Exceptions

Exception Condition
SecurityException

The caller does not have the required permission.

See Also

Reference

TempDataDictionary Class

System.Web.Mvc Namespace