Condividi tramite


PropertyReadOnlyException.GetObjectData Method

Definition

Serialization helper method.

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

T:System.Runtime.Serialization.SerializationInfo object that contains the data needed to serialize or deserialize an object.

context
StreamingContext

T:System.Runtime.Serialization.StreamingContext that contains the source and destination of a given serialized stream.

Applies to