Class SocketClosedException
To be thrown when a socket is unexpectedly closed, or accessed in a closed state.
Inheritance
System.Object
System.Exception
SocketClosedException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: Rssdp
Assembly: cs.temp.dll.dll
Syntax
public class SocketClosedException : Exception, ISerializable, _Exception
Constructors
SocketClosedException()
Default constructor.
Declaration
public SocketClosedException()
SocketClosedException(String)
Partial constructor.
Declaration
public SocketClosedException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | The error message associated with the error. |
SocketClosedException(String, Exception)
Full constructor.
Declaration
public SocketClosedException(string message, Exception inner)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | The error message associated with the error. |
| System.Exception | inner | Any inner exception that is wrapped by this exception. |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception