DelegatingConfigHost.IsDefinitionAllowed Metod

Definition

Begränsar eller tillåter definitioner i värdkonfigurationen.

Detta API stöder produktinfrastrukturen och är inte avsett att användas direkt från koden.

public:
 virtual bool IsDefinitionAllowed(System::String ^ configPath, System::Configuration::ConfigurationAllowDefinition allowDefinition, System::Configuration::ConfigurationAllowExeDefinition allowExeDefinition);
public virtual bool IsDefinitionAllowed(string configPath, System.Configuration.ConfigurationAllowDefinition allowDefinition, System.Configuration.ConfigurationAllowExeDefinition allowExeDefinition);
abstract member IsDefinitionAllowed : string * System.Configuration.ConfigurationAllowDefinition * System.Configuration.ConfigurationAllowExeDefinition -> bool
override this.IsDefinitionAllowed : string * System.Configuration.ConfigurationAllowDefinition * System.Configuration.ConfigurationAllowExeDefinition -> bool
Public Overridable Function IsDefinitionAllowed (configPath As String, allowDefinition As ConfigurationAllowDefinition, allowExeDefinition As ConfigurationAllowExeDefinition) As Boolean

Parametrar

configPath
String

En sträng som representerar sökvägen till en konfigurationsfil.

Returer

trueom beviljandet eller begränsningen av definitioner i värdkonfigurationen lyckades. annars . false

Implementeringar

Gäller för