Visual Basic (Declaration) | |
---|---|
Public Sub GetObjectData( _ ByVal info As SerializationInfo, _ ByVal context As StreamingContext _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Background Dim info As SerializationInfo Dim context As StreamingContext instance.GetObjectData(info, context) |
C# | |
---|---|
public void GetObjectData( SerializationInfo info, StreamingContext context ) |
Parameters
- info
- System.Runtime.Serialization.SerializationInfo to populate with data
- context
- Destination (see System.Runtime.Serialization.StreamingContext) for this serialization
Exception | Description |
---|---|
System.Security.SecurityException | The caller does not have the required permission. |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family