TempDataDictionary.ISerializable.GetObjectData Method
Visual Studio 2010
Populates a SerializationInfo object by using the data that is that is required to serialize the target object.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Private Sub GetObjectData ( _ info As SerializationInfo, _ context As StreamingContext _ ) Implements ISerializable.GetObjectData
Parameters
- info
- Type: System.Runtime.Serialization.SerializationInfo
The SerializationInfo object to populate with data.
- context
- Type: System.Runtime.Serialization.StreamingContext
The destination for this serialization. For more information, see StreamingContext.
Implements
ISerializable.GetObjectData(SerializationInfo, StreamingContext)| Exception | Condition |
|---|---|
| SecurityException | The caller does not have the required permission. |
This member is an explicit interface member implementation. It can be used only when the TempDataDictionary instance is cast to an ISerializable interface.
Community Additions
ADD
Show: