Spread for ASP.NET 8.0 Product Documentation
GetObjectData(SerializationInfo,StreamingContext) Method


System.Runtime.Serialization.SerializationInfo to populate with data
Destination (see System.Runtime.Serialization.StreamingContext) for this serialization
Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.
Syntax
'Declaration
 
Public Sub GetObjectData( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
) 
'Usage
 
Dim instance As Background
Dim info As SerializationInfo
Dim context As StreamingContext
 
instance.GetObjectData(info, context)
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
Exceptions
ExceptionDescription
System.Security.SecurityExceptionThe caller does not have the required permission.
Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

Background Class
Background Members

 

 


Copyright © GrapeCity, inc. All rights reserved.