GetObjectData Method
**[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]**This member overrides Exception. . :: . .GetObjectData(SerializationInfo, StreamingContext).
Namespace: System.Dataflow
Assembly: System.Dataflow (in System.Dataflow.dll)
Syntax
'Declaration
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _
PublicOverridesSubGetObjectData ( _
infoAsSerializationInfo, _
contextAsStreamingContext _
)
'Usage
DiminstanceAsParseExceptionDiminfoAsSerializationInfoDimcontextAsStreamingContext
instance.GetObjectData(info, context)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
publicoverridevoidGetObjectData(
SerializationInfoinfo,
StreamingContextcontext
)
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)]
public:
virtualvoidGetObjectData(
SerializationInfo^ info,
StreamingContextcontext
) override
publicoverridefunctionGetObjectData(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- context
Type: System.Runtime.Serialization. . :: . .StreamingContext
Implements
ISerializable. . :: . .GetObjectData(SerializationInfo, StreamingContext)
_Exception. . :: . .GetObjectData(SerializationInfo, StreamingContext)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see https://msdn.microsoft.com/en-us/library/8skskf63(v=vs.85).