Sdílet prostřednictvím


LeaseLostException.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Populates a SerializationInfo with the data needed to serialize the target 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

The SerializationInfo object to populate with data.

context
StreamingContext

The destination (see StreamingContext) for this serialization.

Applies to