ServerSetupException

Overview

The ServerSetupException class represents an exception that is raised by the Remoting SDK infrastructure when it detects that a requested operation cannot be performed by the current Remoting SDK server configuration.

This exception will, for example, be raised when a client application requests an operation defined in an abstract service or when a service tries to send a multicast event while the EventSink is not configured.

There is no need to raise this exception in the user code.

Location


 

constructor    (declared in ServerException)

 

constructor

 

ServerSetupException()

 

Sub New()

constructor (SerializationInfo, StreamingContext)

 

constructor(info: SerializationInfo; context: StreamingContext)

 

ServerSetupException(SerializationInfo info, StreamingContext context)

 

Sub New(info As SerializationInfo, context As StreamingContext)

Parameters:

  • info:
  • context:

constructor (String)

Creates a new instance of the ServerSetupException class and sets the exception message.

 

constructor(message: String)

 

ServerSetupException(String message)

 

Sub New(message As String)

Parameters:

  • message:

constructor (String, Boolean)

Creates a new instance of the ServerSetupException class and sets the exception message.

The Remoting SDK uses this constructor to raise a ServerSetupException when a client application retrieves the server's answer indicating that a ServerSetupException occurred on the server.

 

constructor(message: String; fromServer: Boolean)

 

ServerSetupException(String message, Boolean fromServer)

 

Sub New(message As String, fromServer As Boolean)

Parameters:

  • message:
  • fromServer:

constructor (String, Exception)

 

constructor(message: String; innerException: Exception)

 

ServerSetupException(String message, Exception innerException)

 

Sub New(message As String, innerException As Exception)

Parameters:

  • message:
  • innerException:

FromServer    (declared in ServerException)

This property is set to true if the exception was received from the server and was re-thrown on the client tier. It's false if the exception was thrown on the same tier as the code processing it.

 

property FromServer: Boolean read;

 

Boolean FromServer { get; }

 

ReadOnly Property FromServer() As Boolean

GetAttributeCount    (declared in ServerException)

 

method GetAttributeCount: Int32

 

Int32 GetAttributeCount()

 

Function GetAttributeCount() As Int32

GetAttributeName    (declared in ServerException)

 

method GetAttributeName(index: Int32): String

 

String GetAttributeName(Int32 index)

 

Function GetAttributeName(index As Int32) As String

Parameters:

  • index:

GetAttributeValue    (declared in ServerException)

 

method GetAttributeValue(index: Int32): String

 

String GetAttributeValue(Int32 index)

 

Function GetAttributeValue(index As Int32) As String

Parameters:

  • index:

ServerStackTrace    (declared in ServerException)

The stack trace of the exception location obtained from the server, if available.

 

property ServerStackTrace: String read write;

 

String ServerStackTrace { get; set; }

 

Property ServerStackTrace() As String

ToString    (declared in ServerException)

 

method ToString: String

 

String ToString()

 

Function ToString() As String

 

FromServer    (declared in ServerException)

This property is set to true if the exception was received from the server and was re-thrown on the client tier. It's false if the exception was thrown on the same tier as the code processing it.

 

property FromServer: Boolean read;

 

Boolean FromServer { get; }

 

ReadOnly Property FromServer() As Boolean

ServerStackTrace    (declared in ServerException)

The stack trace of the exception location obtained from the server, if available.

 

property ServerStackTrace: String read write;

 

String ServerStackTrace { get; set; }

 

Property ServerStackTrace() As String

 

constructor    (declared in ServerException)

 

constructor

 

ServerSetupException()

 

Sub New()

constructor (SerializationInfo, StreamingContext)

 

constructor(info: SerializationInfo; context: StreamingContext)

 

ServerSetupException(SerializationInfo info, StreamingContext context)

 

Sub New(info As SerializationInfo, context As StreamingContext)

Parameters:

  • info:
  • context:

constructor (String)

Creates a new instance of the ServerSetupException class and sets the exception message.

 

constructor(message: String)

 

ServerSetupException(String message)

 

Sub New(message As String)

Parameters:

  • message:

constructor (String, Boolean)

Creates a new instance of the ServerSetupException class and sets the exception message.

The Remoting SDK uses this constructor to raise a ServerSetupException when a client application retrieves the server's answer indicating that a ServerSetupException occurred on the server.

 

constructor(message: String; fromServer: Boolean)

 

ServerSetupException(String message, Boolean fromServer)

 

Sub New(message As String, fromServer As Boolean)

Parameters:

  • message:
  • fromServer:

constructor (String, Exception)

 

constructor(message: String; innerException: Exception)

 

ServerSetupException(String message, Exception innerException)

 

Sub New(message As String, innerException As Exception)

Parameters:

  • message:
  • innerException:

GetAttributeCount    (declared in ServerException)

 

method GetAttributeCount: Int32

 

Int32 GetAttributeCount()

 

Function GetAttributeCount() As Int32

GetAttributeName    (declared in ServerException)

 

method GetAttributeName(index: Int32): String

 

String GetAttributeName(Int32 index)

 

Function GetAttributeName(index As Int32) As String

Parameters:

  • index:

GetAttributeValue    (declared in ServerException)

 

method GetAttributeValue(index: Int32): String

 

String GetAttributeValue(Int32 index)

 

Function GetAttributeValue(index As Int32) As String

Parameters:

  • index:

ToString    (declared in ServerException)

 

method ToString: String

 

String ToString()

 

Function ToString() As String