SipMessageData.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 Overridable Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Usage
Dim instance As SipMessageData
Dim info As SerializationInfo
Dim context As StreamingContext
instance.GetObjectData(info, context)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
public virtual 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.