Udostępnij za pośrednictwem


ServiceModuleInfo.FriendServices Property

Definition

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.

public:
 property cli::array <System::String ^> ^ FriendServices { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
[System.Runtime.Serialization.DataMember(IsRequired=false, Name="friendServices")]
public string[]? FriendServices { get; set; }
[<System.Runtime.Serialization.DataMember(IsRequired=false, Name="friendServices")>]
member this.FriendServices : string[] with get, set
Public Property FriendServices As String()

Property Value

String[]
Attributes

Applies to