- info
- The SerializationInfo to populate with data.
- context
- The destination (see StreamingContext) for this serialization.
| Visual Basic (Declaration) | |
|---|---|
Public Sub GetObjectData( _ ByVal info As SerializationInfo, _ ByVal context As StreamingContext _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public void GetObjectData( SerializationInfo info, StreamingContext context ) | |
| C++/CLI | |
|---|---|
public: void GetObjectData( SerializationInfo^ info, StreamingContext context ) | |
Parameters
- info
- The SerializationInfo to populate with data.
- context
- The destination (see StreamingContext) for this serialization.
| Exception | Description |
|---|---|
| SecurityException | The caller does not have the required permission. |
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
Copy Code