Lingua

IRegiisUtility.ProtectedConfigAction Metodo

Definizione

Consente la modifica specifica delle sezioni di configurazione e dei contenitori di chiavi assembly in base ai parametri forniti.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

public:
 void ProtectedConfigAction(long actionToPerform, System::String ^ firstArgument, System::String ^ secondArgument, System::String ^ providerName, System::String ^ appPath, System::String ^ site, System::String ^ cspOrLocation, int keySize, [Runtime::InteropServices::Out] IntPtr % exception);
public void ProtectedConfigAction(long actionToPerform, string firstArgument, string secondArgument, string providerName, string appPath, string site, string cspOrLocation, int keySize, out IntPtr exception);
abstract member ProtectedConfigAction : int64 * string * string * string * string * string * string * int * nativeint -> unit
Public Sub ProtectedConfigAction (actionToPerform As Long, firstArgument As String, secondArgument As String, providerName As String, appPath As String, site As String, cspOrLocation As String, keySize As Integer, ByRef exception As IntPtr)

Parametri

actionToPerform
Int64

Tipo di azione da eseguire.

firstArgument
String

Una sezione di configurazione o il nome del contenitore della chiave assembly.

secondArgument
String

Nome del file di configurazione o nome dell'account.

providerName
String

Nome del provider.

appPath
String

Percorso dell'applicazione.

site
String

Riferimento al sito.

cspOrLocation
String

Percorso di configurazione.

keySize
Int32

Dimensione della chiave.

exception
IntPtr

nativeint

Eccezione da visualizzare.

Si applica a