GetObjectData Method
Collapse the table of content
Expand the table of content

PropertyWriteException.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


Type: System.Runtime.Serialization.SerializationInfo

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

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
© 2015 Microsoft