WebHeaderCollection..::..GetObjectData Method
Populates the specified SerializationInfo with the data needed to serialize
the WebHeaderCollection.
Namespace:
WebSocketSharp.NetAssembly: C-DEngine (in C-DEngine.dll)
Syntax
[SecurityPermissionAttribute] public void GetObjectData( SerializationInfo serializationInfo, StreamingContext streamingContext )
<SecurityPermissionAttribute> _ Public Sub GetObjectData ( _ serializationInfo As SerializationInfo, _ streamingContext As StreamingContext _ )
[SecurityPermissionAttribute] public: void GetObjectData( SerializationInfo^ serializationInfo, StreamingContext^ streamingContext )
Parameters
- serializationInfo
- Type: SerializationInfo
A SerializationInfo that holds the serialized object data.
- streamingContext
- Type: StreamingContext
A StreamingContext that specifies the destination for the serialization.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | serializationInfo is nullNothingnullptra null reference (Nothing in Visual Basic). |