CngAlgorithmGroup(String) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 CngAlgorithmGroup 類別的新執行個體。
public:
CngAlgorithmGroup(System::String ^ algorithmGroup);
public CngAlgorithmGroup(string algorithmGroup);
new System.Security.Cryptography.CngAlgorithmGroup : string -> System.Security.Cryptography.CngAlgorithmGroup
Public Sub New (algorithmGroup As String)
參數
- algorithmGroup
- String
要初始化的演算法群組名稱。
例外狀況
參數 algorithmGroup 為 null。
algorithmGroup參數長度為0(0)。
備註
類別的 CngAlgorithmGroup 實例內部會維護由 algorithmGroup 參數指定的演算法群組名稱。
此建構器的主要目的是提供一種方法,用於建立 CngAlgorithmGroup 不由類別靜態屬性 CngAlgorithmGroup 所代表的演算法群組物件。 此功能使未來的 .NET Framework 版本、服務包及第三方開發者能新增演算法群組,這些群組可存取與目前可用的演算法群組相同。