PeerToPeerException.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Implements the ISerializable interface and returns the data needed to serialize the peer object.

C#
[System.Security.SecurityCritical]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);

Parameters

info
SerializationInfo

Contains the information required to serialize the PeerToPeerException object.

context
StreamingContext

Contains the destination for the serialized stream associated with the PeerToPeerException object.

Attributes

Remarks

This method is an O(n) operation.

Applies to

Proizvod Verzije
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also