RegistrationException.GetObjectData Method

Sets the SerializationInfo object with the error information in RegistrationErrorInfo.

Namespace:  System.EnterpriseServices
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)

public override void GetObjectData(
	SerializationInfo info,
	StreamingContext ctx
)

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo

A SerializationInfo object that contains serialized object data.

ctx
Type: System.Runtime.Serialization.StreamingContext

The contextual information about the source or destination.

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)
_Exception.GetObjectData(SerializationInfo, StreamingContext)

ExceptionCondition
ArgumentException

info parameter is null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft