PropertyReadOnlyException.GetObjectData Method (SerializationInfo, StreamingContext)

 

Returns object data to facilitate remoting.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo

SerializationInfo that populates a specified SerializationInfo with the data that is required to serialize the current object.

context
Type: System.Runtime.Serialization.StreamingContext

StreamingContext that describes the source and destination of a given serialized stream, and provides an additional caller-defined context.

Return to top
Show: