InvalidMessageTypeException

Overview

Exceptions of the type InvalidMessageTypeException are thrown when the type of the received message is not supported by the Remoting SDK infrastructure. An exception of this type is also thrown while processing events polling messages if the received message does not contain a client ID.

Location

 

constructor    (declared in ServerException)

Creates a new instance

 

constructor

 

InvalidMessageTypeException()

 

init()

 

Sub New()

constructor (SerializationInfo, StreamingContext)    (declared in ServerException) .NET Framework

Creates a new instance

 

constructor(info: SerializationInfo; context: StreamingContext)

 

InvalidMessageTypeException(SerializationInfo info, StreamingContext context)

 

init(_ info: SerializationInfo, _ context: StreamingContext)

 

Sub New(info As SerializationInfo, context As StreamingContext)

Parameters:

  • info:
  • context:

constructor (String)

Creates a new instance with the provided exception message.

 

constructor(message: String)

 

InvalidMessageTypeException(String message)

 

init(_ message: String)

 

Sub New(message As String)

Parameters:

  • message:

constructor (String, Boolean)

Creates a new instance with the provided exception message and a boolean value that equals true if the exception was received from the server and was re-thrown on the client tier, or false if the exception was thrown on the same tier as the code processing it.

 

constructor(message: String; fromServer: Boolean)

 

InvalidMessageTypeException(String message, Boolean fromServer)

 

init(_ message: String, _ fromServer: Boolean)

 

Sub New(message As String, fromServer As Boolean)

Parameters:

  • message:
  • fromServer:

constructor (String, Exception)    (declared in ServerException)

Creates a new instance with the provided exception message and inner exception.

 

constructor(message: String; innerException: Exception)

 

InvalidMessageTypeException(String message, Exception innerException)

 

init(_ message: String, _ innerException: Exception)

 

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; }

 

var FromServer: Boolean { get{} }

 

ReadOnly Property FromServer() As Boolean

GetAttributeCount    (declared in ServerException)

 

method GetAttributeCount: Int32

 

Int32 GetAttributeCount()

 

func GetAttributeCount() -> Int32

 

Function GetAttributeCount() As Int32

GetAttributeName    (declared in ServerException)

 

method GetAttributeName(index: Int32): String

 

String GetAttributeName(Int32 index)

 

func GetAttributeName(_ index: Int32) -> String

 

Function GetAttributeName(index As Int32) As String

Parameters:

  • index:

GetAttributeValue    (declared in ServerException)

 

method GetAttributeValue(index: Int32): String

 

String GetAttributeValue(Int32 index)

 

func GetAttributeValue(_ index: Int32) -> String

 

Function GetAttributeValue(index As Int32) As String

Parameters:

  • index:

OriginalExceptionClassName    (declared in ServerException)

 

property OriginalExceptionClassName: String read write;

 

String OriginalExceptionClassName { get; set; }

 

var OriginalExceptionClassName: String { get{} set{} }

 

Property OriginalExceptionClassName() As String

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; }

 

var ServerStackTrace: String { get{} set{} }

 

Property ServerStackTrace() 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; }

 

var FromServer: Boolean { get{} }

 

ReadOnly Property FromServer() As Boolean

OriginalExceptionClassName    (declared in ServerException)

 

property OriginalExceptionClassName: String read write;

 

String OriginalExceptionClassName { get; set; }

 

var OriginalExceptionClassName: String { get{} set{} }

 

Property OriginalExceptionClassName() As String

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; }

 

var ServerStackTrace: String { get{} set{} }

 

Property ServerStackTrace() As String

 

constructor    (declared in ServerException)

Creates a new instance

 

constructor

 

InvalidMessageTypeException()

 

init()

 

Sub New()

constructor (SerializationInfo, StreamingContext)    (declared in ServerException) .NET Framework

Creates a new instance

 

constructor(info: SerializationInfo; context: StreamingContext)

 

InvalidMessageTypeException(SerializationInfo info, StreamingContext context)

 

init(_ info: SerializationInfo, _ context: StreamingContext)

 

Sub New(info As SerializationInfo, context As StreamingContext)

Parameters:

  • info:
  • context:

constructor (String)

Creates a new instance with the provided exception message.

 

constructor(message: String)

 

InvalidMessageTypeException(String message)

 

init(_ message: String)

 

Sub New(message As String)

Parameters:

  • message:

constructor (String, Boolean)

Creates a new instance with the provided exception message and a boolean value that equals true if the exception was received from the server and was re-thrown on the client tier, or false if the exception was thrown on the same tier as the code processing it.

 

constructor(message: String; fromServer: Boolean)

 

InvalidMessageTypeException(String message, Boolean fromServer)

 

init(_ message: String, _ fromServer: Boolean)

 

Sub New(message As String, fromServer As Boolean)

Parameters:

  • message:
  • fromServer:

constructor (String, Exception)    (declared in ServerException)

Creates a new instance with the provided exception message and inner exception.

 

constructor(message: String; innerException: Exception)

 

InvalidMessageTypeException(String message, Exception innerException)

 

init(_ message: String, _ innerException: Exception)

 

Sub New(message As String, innerException As Exception)

Parameters:

  • message:
  • innerException:

GetAttributeCount    (declared in ServerException)

 

method GetAttributeCount: Int32

 

Int32 GetAttributeCount()

 

func GetAttributeCount() -> Int32

 

Function GetAttributeCount() As Int32

GetAttributeName    (declared in ServerException)

 

method GetAttributeName(index: Int32): String

 

String GetAttributeName(Int32 index)

 

func GetAttributeName(_ index: Int32) -> String

 

Function GetAttributeName(index As Int32) As String

Parameters:

  • index:

GetAttributeValue    (declared in ServerException)

 

method GetAttributeValue(index: Int32): String

 

String GetAttributeValue(Int32 index)

 

func GetAttributeValue(_ index: Int32) -> String

 

Function GetAttributeValue(index As Int32) As String

Parameters:

  • index: