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)

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

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: