RegiisUtility.ProtectedConfigAction Methode

Definitie

Hiermee staat u specifieke manipulatie van configuratiesecties en assemblysleutelcontainers toe op basis van de opgegeven parameters.

Deze API ondersteunt de productinfrastructuur en is niet bedoeld om rechtstreeks vanuit de code te gebruiken.

public:
 virtual void ProtectedConfigAction(long options, 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 options, 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
override this.ProtectedConfigAction : int64 * string * string * string * string * string * string * int * nativeint -> unit
Public Sub ProtectedConfigAction (options 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)

Parameters

options
Int64

Het type actie dat moet worden uitgevoerd.

firstArgument
String

Een configuratiesectie of naam van een assemblysleutelcontainer.

secondArgument
String

De naam van het configuratiebestand of de accountnaam.

providerName
String

De providernaam.

appPath
String

Het toepassingspad.

site
String

De sitereferentie.

cspOrLocation
String

De configuratielocatie.

keySize
Int32

De grootte van de sleutel.

exception
IntPtr

nativeint

De uitzondering die moet worden weergegeven.

Implementeringen

Opmerkingen

De ProtectedConfigAction methode wordt intern gebruikt om secties binnen de configuratie te beveiligen en de beveiliging op te heffen. De ProtectedConfigAction methode ondersteunt ook het bewerken van assemblysleutelcontainers.

Van toepassing op