ElementNotEnabledException.GetObjectData Method (SerializationInfo, StreamingContext)

 

Retrieves data needed to serialize the target object.

Namespace:   System.Windows.Automation
Assembly:  UIAutomationTypes (in UIAutomationTypes.dll)

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

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo

Data needed to serialize or deserialize the object.

context
Type: System.Runtime.Serialization.StreamingContext

The destination of the serialized stream.

.NET Framework
Available since 3.0
Return to top
Show: