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 imageCopy Code
                                  public static class HostingEnvironment
Visual Basic (Declaration) Copy imageCopy Code
                                  Public NotInheritable Class HostingEnvironment

The type exposes the following methods.

Public Methods

  Name Description
Public method Static member AddHttpListener
Adds the scheme://*:port/ to the http listener.
Public method Static member Confirm
Sends the specified message and waits for the host to confirm.
Public method Static member Connect
Connects the specified host.
Public method Static member FilterHostHeaders
Filters the list of host headers. Any host header that cannot be listened to will be removed.
Public method Static member GetGlobalHostHeader
Returns a global host header defined by the hosting environment.
Public method Static member GetHostType
Gets the type of the external host if connected.
Public method Static member GetSessionData
Returns a PreviewItem object if the given item was checked out inside the host.
Public method Static member GetValue
Gets a value from the host.
Public method Static member IsConnected
Determines whether this instance is connected to an external host.
Public method Static member SaveSession
Public method Static member Shutdown Overloaded.
Public method Static member UpdateProgress
Updates the progress status.
Public method Static member UpdateStatus
Updates the status.

See Also

Advanced