HtmlServerInfo

Overview

Static class that provides helper methods for general server information page creation:

Location

Class Methods


GetDispatchersList

 

class method GetDispatchersList(basePath: String; dispatchers: MessageDispatchers): String

 

static String GetDispatchersList(String basePath, MessageDispatchers dispatchers)

 

Shared Function GetDispatchersList(basePath As String, dispatchers As MessageDispatchers) As String

Parameters:

  • basePath:
  • dispatchers:

GetHtmlErrorResponse

Returns a string containing HTML for 'Server Error' pages, for given exceptions.

 

class method GetHtmlErrorResponse(ex: Exception): String

 

static String GetHtmlErrorResponse(Exception ex)

 

Shared Function GetHtmlErrorResponse(ex As Exception) As String

Parameters:

  • ex:

GetHtmlResponse

This method returns a HTML page based on the HtmlResponseTemplate with a given title and body.

 

class method GetHtmlResponse(title: String; body: String): String

 

static String GetHtmlResponse(String title, String body)

 

Shared Function GetHtmlResponse(title As String, body As String) As String

Parameters:

  • title:
  • body:

GetServerDocumentation

This method converts the server's Rodl into a more readable HTML representation and returns a prepared HTML string.

Note: This method does not work on Compact Framework.

 

class method GetServerDocumentation(rodlAssembly: Assembly): String

 

static String GetServerDocumentation(Assembly rodlAssembly)

 

Shared Function GetServerDocumentation(rodlAssembly As Assembly) As String

Parameters:

  • rodlAssembly:

GetServerInfo (Assembly, MessageDispatchers, ExtendedDispatcherList, Boolean, String): String

 

class method GetServerInfo(rodlAssembly: Assembly; dispatchers: MessageDispatchers; extendedDispatchers: ExtendedDispatcherList; addTrialNotification: Boolean; basePath: String): String

 

static String GetServerInfo(Assembly rodlAssembly, MessageDispatchers dispatchers, ExtendedDispatcherList extendedDispatchers, Boolean addTrialNotification, String basePath)

 

Shared Function GetServerInfo(rodlAssembly As Assembly, dispatchers As MessageDispatchers, extendedDispatchers As ExtendedDispatcherList, addTrialNotification As Boolean, basePath As String) As String

Parameters:

  • rodlAssembly:
  • dispatchers:
  • extendedDispatchers:
  • addTrialNotification:
  • basePath:

GetServerInfo (Assembly, MessageDispatchers, ExtendedDispatcherList, Boolean, String, String): String

 

class method GetServerInfo(rodlAssembly: Assembly; dispatchers: MessageDispatchers; extendedDispatchers: ExtendedDispatcherList; addTrialNotification: Boolean; basePath: String; template: String): String

 

static String GetServerInfo(Assembly rodlAssembly, MessageDispatchers dispatchers, ExtendedDispatcherList extendedDispatchers, Boolean addTrialNotification, String basePath, String template)

 

Shared Function GetServerInfo(rodlAssembly As Assembly, dispatchers As MessageDispatchers, extendedDispatchers As ExtendedDispatcherList, addTrialNotification As Boolean, basePath As String, template As String) As String

Parameters:

  • rodlAssembly:
  • dispatchers:
  • extendedDispatchers:
  • addTrialNotification:
  • basePath:
  • template: