SecureFactory.CreateInstanceWithSecurity2 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
利用部署清單中的資訊,建立一個新的 COM 類型實例,代表安全類別工廠。
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
public:
virtual System::Object ^ CreateInstanceWithSecurity2(int dwFlags, int dwZone, System::String ^ wszSite, System::String ^ wszId, System::String ^ wszConfig, System::String ^ wszLicenses, System::String ^ wszDeploymentManifest);
public virtual object CreateInstanceWithSecurity2(int dwFlags, int dwZone, string wszSite, string wszId, string wszConfig, string wszLicenses, string wszDeploymentManifest);
abstract member CreateInstanceWithSecurity2 : int * int * string * string * string * string * string -> obj
override this.CreateInstanceWithSecurity2 : int * int * string * string * string * string * string -> obj
Public Overridable Function CreateInstanceWithSecurity2 (dwFlags As Integer, dwZone As Integer, wszSite As String, wszId As String, wszConfig As String, wszLicenses As String, wszDeploymentManifest As String) As Object
參數
- dwZone
- Int32
以下 URLZONE 值之一:
URLZONE_LOCAL_MACHINE:0x00
URLZONE_INTRANET:0x01
URLZONE_TRUSTED:0x02
URLZONE_INTERNET:0x03
URLZONE_UNTRUSTED:0x04
- wszSite
- String
包含將建立安全類別工廠應用程式的網站網址。
- wszId
- String
網站的獨特身份。
- wszConfig
- String
網址中的連結部分,可以是相對的。
- wszLicenses
- String
授權檔案的位置,用來與網域關聯。
- wszDeploymentManifest
- String
部署清單的位置。
傳回
一個作為新實例包裝器的物件。 必須展開回傳值才能存取真實物件。