GetObjectData Method
Populates a [SerializationInfo] with the data needed to serialize the object.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _
Public Overrides Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Usage
Dim instance As RealTimeException
Dim info As SerializationInfo
Dim context As StreamingContext
instance.GetObjectData(info, context)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData(
SerializationInfo info,
StreamingContext context
)
Parameters
- info
Type: System.Runtime.Serialization..::..SerializationInfo
The [serializationInformation] to populate.
- context
Type: System.Runtime.Serialization..::..StreamingContext
The streaming context.
Implements
ISerializable..::..GetObjectData(SerializationInfo, StreamingContext)
_Exception..::..GetObjectData(SerializationInfo, StreamingContext)