다음을 통해 공유


ConfigurationSectionCollection.GetObjectData 메서드

정의

주의

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

serialization 중 시스템에서 사용됩니다.

public:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
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);
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
[<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}")>]
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Overrides Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

매개 변수

info
SerializationInfo

적용할 수 있는 SerializationInfo 개체입니다.

context
StreamingContext

적용할 수 있는 StreamingContext 개체입니다.

특성

설명

메서드는 GetObjectData serialization 중에 사용됩니다. 즉, 구성 데이터를 구성 파일에 유지할 때 사용됩니다.

적용 대상