WebSocketException::GetObjectData Method (SerializationInfo^, StreamingContext)

.NET Framework (current version)
 

Sets the SerializationInfo object with the file name and line number where the exception occurred.

Namespace:   System.Net.WebSockets
Assembly:  System (in System.dll)

public:
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)]
virtual void GetObjectData(
	SerializationInfo^ info,
	StreamingContext context
) override

Parameters

info
Type: System.Runtime.Serialization::SerializationInfo^

A SerializationInfo object.

context
Type: System.Runtime.Serialization::StreamingContext

The contextual information about the source or destination.

.NET Framework
Available since 4.5
Return to top
Show: