HtmlServerInfo
Overview
Static class that provides helper methods for general server information page creation:
Location
- Reference: RemObjects.SDK.Server.dll
- Namespace: RemObjects.SDK.Server
constructor
constructor
HtmlServerInfo()
Sub New()
GetDispatchersList
Returns a string containing HTML for a list of available message dispatchers.
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:
GetFavIconStream
method GetFavIconStream: Stream
Stream GetFavIconStream()
Function GetFavIconStream() As Stream
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
method GetServerInfo(rodlAssembly: Assembly; dispatchers: MessageDispatchers; extendedDispatchers: ExtendedDispatcherList; addTrialNotification: Boolean; basePath: String): String
String GetServerInfo(Assembly rodlAssembly, MessageDispatchers dispatchers, ExtendedDispatcherList extendedDispatchers, Boolean addTrialNotification, String basePath)
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
method GetServerInfo(rodlAssembly: Assembly; dispatchers: MessageDispatchers; extendedDispatchers: ExtendedDispatcherList; addTrialNotification: Boolean; basePath: String; template: String): String
String GetServerInfo(Assembly rodlAssembly, MessageDispatchers dispatchers, ExtendedDispatcherList extendedDispatchers, Boolean addTrialNotification, String basePath, String template)
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:
GetDispatchersList
Returns a string containing HTML for a list of available message dispatchers.
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:
constructor
constructor
HtmlServerInfo()
Sub New()
GetFavIconStream
method GetFavIconStream: Stream
Stream GetFavIconStream()
Function GetFavIconStream() As Stream
GetServerInfo (Assembly, MessageDispatchers, ExtendedDispatcherList, Boolean, String): String
method GetServerInfo(rodlAssembly: Assembly; dispatchers: MessageDispatchers; extendedDispatchers: ExtendedDispatcherList; addTrialNotification: Boolean; basePath: String): String
String GetServerInfo(Assembly rodlAssembly, MessageDispatchers dispatchers, ExtendedDispatcherList extendedDispatchers, Boolean addTrialNotification, String basePath)
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
method GetServerInfo(rodlAssembly: Assembly; dispatchers: MessageDispatchers; extendedDispatchers: ExtendedDispatcherList; addTrialNotification: Boolean; basePath: String; template: String): String
String GetServerInfo(Assembly rodlAssembly, MessageDispatchers dispatchers, ExtendedDispatcherList extendedDispatchers, Boolean addTrialNotification, String basePath, String template)
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: