Edit

Share via


ConfigurationSectionGroupCollection.GetObjectData Method

Definition

Caution

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Used by the system during serialization.

public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);

Parameters

info
SerializationInfo

The applicable SerializationInfo object.

context
StreamingContext

The applicable StreamingContext object.

Attributes

Remarks

The GetObjectData method is used during serialization; that is, when persisting configuration data to a configuration file.

Applies to

Product Versions