RegistrationException::GetObjectData Method (SerializationInfo^, StreamingContext)

 

Sets the SerializationInfo object with the error information in RegistrationErrorInfo.

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

public:
virtual void GetObjectData(
	SerializationInfo^ info,
	StreamingContext ctx
) override

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.

Exception Condition
ArgumentException

info parameter is null.

.NET Framework
Available since 1.1
Return to top
Show: