Skip to content

GuidId.GetObjectData(SerializationInfo, StreamingContext)

GetObjectData(SerializationInfo, StreamingContext)

View source
public void GetObjectData(SerializationInfo info, StreamingContext context)
Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.

Parameters

infoSerializationInfo
The System.Runtime.Serialization.SerializationInfo to populate with data.
contextStreamingContext
The destination (see System.Runtime.Serialization.StreamingContext) for this serialization.

Exceptions

System.Security.SecurityException
The caller does not have the required permission.