Condividi tramite


IInternalConfigHost.VerifyDefinitionAllowed Metodo

Definizione

Verifica che venga consentita una definizione di configurazione per un record di configurazione.

public:
 void VerifyDefinitionAllowed(System::String ^ configPath, System::Configuration::ConfigurationAllowDefinition allowDefinition, System::Configuration::ConfigurationAllowExeDefinition allowExeDefinition, System::Configuration::Internal::IConfigErrorInfo ^ errorInfo);
public void VerifyDefinitionAllowed (string configPath, System.Configuration.ConfigurationAllowDefinition allowDefinition, System.Configuration.ConfigurationAllowExeDefinition allowExeDefinition, System.Configuration.Internal.IConfigErrorInfo errorInfo);
abstract member VerifyDefinitionAllowed : string * System.Configuration.ConfigurationAllowDefinition * System.Configuration.ConfigurationAllowExeDefinition * System.Configuration.Internal.IConfigErrorInfo -> unit
Public Sub VerifyDefinitionAllowed (configPath As String, allowDefinition As ConfigurationAllowDefinition, allowExeDefinition As ConfigurationAllowExeDefinition, errorInfo As IConfigErrorInfo)

Parametri

configPath
String

Stringa che rappresenta il percorso del file di configurazione dell'applicazione.

allowDefinition
ConfigurationAllowDefinition

Un oggetto AllowDefinition.

errorInfo
IConfigErrorInfo

Oggetto IConfigErrorInfo.

Si applica a