語言

RegiisUtility.ProtectedConfigAction 方法

定義

允許根據所提供的參數,針對配置區段及組裝鍵容器進行特定操作。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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)

參數

options
Int64

該執行的行動類型。

firstArgument
String

一個設定區段或組裝密鑰容器名稱。

secondArgument
String

設定檔名稱或帳號名稱。

providerName
String

提供者名稱。

appPath
String

申請路徑。

site
String

網站參考。

cspOrLocation
String

配置位置。

keySize
Int32

鑰匙的大小。

exception
IntPtr

nativeint

展示的例外。

實作

備註

此 ProtectedConfigAction 方法用於內部保護與解除配置中的區域。 此 ProtectedConfigAction 方法也支援組合金鑰容器操作。

適用於