Op Englesch liesen Editéieren

Deelen iwwer


RemotingServices.GetObjectData Method

Definition

Serializes the specified marshal by reference object into the provided SerializationInfo.

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

Parameters

obj
Object

The object to serialize.

info
SerializationInfo

The SerializationInfo into which the object is serialized.

context
StreamingContext

The source and destination of the serialization.

Attributes

Exceptions

The obj or info parameter is null.

The immediate caller does not have infrastructure permission.

Applies to

Produkt Versiounen
.NET Framework 1.1, 2.0, 3.0, 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