Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

NetworkSessionException Constructor

Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9147)

NetworkSessionException(String)

Initializes a new instance of the NetworkSessionException class with the specified error message.

Declaration
public NetworkSessionException(string message)
Parameters
Type Name Description
String message

The message that describes the error.

NetworkSessionException(String, Exception)

Initializes a new instance of the NetworkSessionException class with the specified error message and a reference to the inner exception that is the cause of this exception.

Declaration
public NetworkSessionException(string message, Exception innerException)
Parameters
Type Name Description
String message

The message that describes the error.

Exception innerException

The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.

In This Article
  • NetworkSessionException(String)
  • NetworkSessionException(String, Exception)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies