Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The host environment interface creates hosts for components. Note that the methods of this interface should be called from the main thread for the environment. To get an environment to service another thread, call Fork and pass the return result to that thread.
public interface IHostEnvironment : Microsoft.ML.Runtime.IChannelProvider, Microsoft.ML.Runtime.IProgressChannelProvider
type IHostEnvironment = interface interface IChannelProvider interface IExceptionContext interface IProgressChannelProvider
Public Interface IHostEnvironment Implements IChannelProvider, IProgressChannelProvider
The catalog of loadable components (Microsoft.ML.LoadableClassAttribute) that are available in this host.
A string describing the context itself.(Inherited from IExceptionContext)
|Process<TException>(TException)||(Inherited from IExceptionContext)|
|Register(String, Nullable<Int32>, Nullable<Boolean>)||
Create a host with the given registration name.
Start a standard message channel.(Inherited from IChannelProvider)
Start a generic information pipe.(Inherited from IChannelProvider)
Create a progress channel for a computation named