SfcInvalidConnectionContextModeChangeException.GetObjectData(SerializationInfo, StreamingContext) SfcInvalidConnectionContextModeChangeException.GetObjectData(SerializationInfo, StreamingContext) SfcInvalidConnectionContextModeChangeException.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Sets the SerializationInfo object with information about the exception. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

public:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
Public Overrides Sub GetObjectData (info As SerializationInfo, context As StreamingContext)
Parameters
info
SerializationInfo SerializationInfo SerializationInfo

The SerializationInfo object that holds the serialized object data about the exception being thrown.

context
StreamingContext StreamingContext StreamingContext

The StreamingContext object that contains contextual information about the source or destination.

Applies to