다음을 통해 공유


ISerializable.GetObjectData 메서드

네임스페이스:  Microsoft.AnalysisServices.AdomdServer
어셈블리:  msmgdsrv.dll의 msmgdsrv

구문

‘선언
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _
Private Sub GetObjectData ( _
    info As SerializationInfo, _
    context As StreamingContext _
) Implements ISerializable.GetObjectData
‘사용 방법
Dim instance As AdomdException
Dim info As SerializationInfo
Dim context As StreamingContext

CType(instance, ISerializable).GetObjectData(info, _
    context)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
void ISerializable.GetObjectData(
    SerializationInfo info,
    StreamingContext context
)
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)]
private:
virtual void GetObjectData(
    SerializationInfo^ info, 
    StreamingContext context
) sealed = ISerializable::GetObjectData
[<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)>]
private abstract GetObjectData : 
        info:SerializationInfo * 
        context:StreamingContext -> unit 
[<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)>]
private override GetObjectData : 
        info:SerializationInfo * 
        context:StreamingContext -> unit 
JScript는 명시적 인터페이스 구현의 사용을 지원하지만 새로운 명시적 인터페이스 구현의 선언은 지원하지 않습니다.

구현

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