共用方式為


DacServicesException.GetObjectData Method

Definition

Write exception information to the supplied SerializationInfo object.

public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Overrides Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

SerializationInfo that holds the serialized object data.

context
StreamingContext

StreamingContext that contains contextual information about the source or destination.

Exceptions

If info is a null reference.

Applies to