문서를 영문으로 보려면 영문 확인란을 선택하세요. 마우스 포인터를 텍스트 위로 이동시켜 팝업 창에서 영문 텍스트를 표시할 수도 있습니다.
번역
영문

PropertyCannotBeRetrievedException.GetObjectData 메서드

Populates a SerializationInfo object with the data needed to serialize the target object.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)

구현

ISerializable.GetObjectData(SerializationInfo, StreamingContext)
_Exception.GetObjectData(SerializationInfo, StreamingContext)

Any objects that are included in the SerializationInfo are automatically tracked and serialized by the formatter. Code that calls GetObjectData requires the SecurityPermission for providing serialization services. Associated enumeration: SerializationFormatter.

참고참고

It is not guaranteed that this method will be called only once per object instance during serialization. Therefore, the method should be implemented in such a way that its behavior will be the same regardless of the number of times it is called.

커뮤니티 추가 항목

추가
표시: