Redigera

Dela via


RegiisUtility.ProtectedConfigAction Method

Definition

Allows specific manipulation of configuration sections and assembly-key containers based on the supplied parameters.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

The type of action to perform.

firstArgument
String

A configuration section or assembly-key container name.

secondArgument
String

The configuration file name or account name.

providerName
String

The provider name.

appPath
String

The application path.

site
String

The site reference.

cspOrLocation
String

The configuration location.

keySize
Int32

The size of the key.

exception
IntPtr

nativeint

The exception to display.

Implements

Remarks

The ProtectedConfigAction method is used internally to protect and unprotect sections within the configuration. The ProtectedConfigAction method also supports assembly-key container manipulation.

Applies to