DacServicesException.GetObjectData 메서드
Write exception information to the supplied SerializationInfo object.
네임스페이스: Microsoft.SqlServer.Dac
어셈블리: Microsoft.SqlServer.Dac(Microsoft.SqlServer.Dac.dll)
구문
‘선언
Public Overrides Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
)
‘사용 방법
Dim instance As DacServicesException
Dim info As SerializationInfo
Dim context As StreamingContext
instance.GetObjectData(info, context)
public override void GetObjectData(
SerializationInfo info,
StreamingContext context
)
public:
virtual void GetObjectData(
SerializationInfo^ info,
StreamingContext context
) override
abstract GetObjectData :
info:SerializationInfo *
context:StreamingContext -> unit
override GetObjectData :
info:SerializationInfo *
context:StreamingContext -> unit
public override function GetObjectData(
info : SerializationInfo,
context : StreamingContext
)
매개 변수
- info
유형: System.Runtime.Serialization.SerializationInfo
SerializationInfo that holds the serialized object data.
- context
유형: System.Runtime.Serialization.StreamingContext
StreamingContext that contains contextual information about the source or destination.
구현
ISerializable.GetObjectData(SerializationInfo, StreamingContext)
_Exception.GetObjectData(SerializationInfo, StreamingContext)
예외
예외 | 조건 |
---|---|
ArgumentNullException | info |