ServiceModuleInfo Class

Definition

public ref class ServiceModuleInfo
[System.Runtime.Serialization.DataContract]
[System.Serializable]
public class ServiceModuleInfo
[<System.Runtime.Serialization.DataContract>]
[<System.Serializable>]
type ServiceModuleInfo = class
Public Class ServiceModuleInfo
Inheritance
ServiceModuleInfo
Attributes

Constructors

ServiceModuleInfo()

Properties

EntryPoint

Gets or sets the service entry point containing name of the assembly along with the class name representing this service module.

FriendServices

Gets or sets a collection of services, that if running inside of the same host as this service, whose AssemblyLoadContext will be used for resolving dependencies. These AssemblyLoadContexts will be queried in the order that appear, stopping when/if the assembly is successfully loaded. The additional AssemblyLoadContexts will only be searched if the assembly fails to resolve first by searching the directory that the service assembly is in. This property is only applicable to services running inside of dotnet Host processes.

Host

Gets or sets the service module host type.

HostGroupAllowed

Gets or sets a value indicating whether this service module is allowed to have a host group.

HostGroupId

Gets or sets the host group that should be used for this service, use of this property requires HostGroupAllowed to be set to true.

HostId

Gets or sets the service module host id.

Name

Gets or sets the service module name; e.g., 'Organization.ModuleName'.

ServiceBaseDirectory

Gets or sets the path of the directory containing the service module. If set, it may be the base directory for AssemblyPath. If not set, it's up to the host how the service file is resolved.

ServiceOverride
SingleDomainLoaderOptimization

Gets or sets a value indicating whether this service module should load in an AppDomain with its LoaderOptimization set to SingleDomain.

VersionRange

Gets or sets the versions of the service or the version expected by the client.

Methods

Clone()
ToString()

Applies to