This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Syntax
C# | Copy Code |
---|---|
public static class HostingEnvironment |
Visual Basic (Declaration) | Copy Code |
---|---|
Public NotInheritable Class HostingEnvironment |
The type exposes the following methods.
Public Methods
Name | Description | |
---|---|---|
AddHttpListener |
Adds the scheme://*:port/ to the http listener.
|
|
Confirm |
Sends the specified message and waits for the host to confirm.
|
|
Connect |
Connects the specified host.
|
|
FilterHostHeaders |
Filters the list of host headers. Any host header that cannot be listened to will be removed.
|
|
GetGlobalHostHeader |
Returns a global host header defined by the hosting environment.
|
|
GetHostType |
Gets the type of the external host if connected.
|
|
GetSessionData |
Returns a PreviewItem object if the given item was checked out inside the host.
|
|
GetValue |
Gets a value from the host.
|
|
IsConnected |
Determines whether this instance is connected to an external host.
|
|
SaveSession | ||
Shutdown | Overloaded. | |
UpdateProgress |
Updates the progress status.
|
|
UpdateStatus |
Updates the status.
|
See Also
Smartsite.Core Namespace