RolePrincipal.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Populates a SerializationInfo object with the data that is required in order to serialize the target object using the specified streaming context.

protected virtual void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);

Parameters

info
SerializationInfo

The SerializationInfo object to populate with data.

context
StreamingContext

The destination for this serialization.

Remarks

For more information, see the GetObjectData(SerializationInfo, StreamingContext) method.

Applies to

Product Versions
.NET Framework 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