SecureFactory.CreateInstanceWithSecurity2 メソッド

定義

配置マニフェストからの情報を使用して、セキュリティで保護されたクラス ファクトリを表す 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

パラメーター

dwFlags
Int32

次のいずれかの CORIESECURITY 値:

  • CORIESECURITY_ZONE: 0x01

  • CORIESECURITY_SITE: 0x02

dwZone
Int32

次のいずれかの URLZONE 値:

  • URLZONE_LOCAL_MACHINE: 0x00

  • URLZONE_INTRANET: 0x01

  • URLZONE_TRUSTED: 0x02

  • URLZONE_INTERNET: 0x03

  • URLZONE_UNTRUSTED: 0x04

wszSite
String

セキュリティで保護されたクラス ファクトリが作成されるアプリケーションを含むサイトの URL。

wszId
String

サイトの一意の ID。

wszConfig
String

URL のリンク部分。相対値を指定できます。

wszLicenses
String

ドメインに関連付けるライセンス ファイルの場所。

wszDeploymentManifest
String

配置マニフェストの場所。

返品

新しいインスタンスのラッパーであるオブジェクト。 実際のオブジェクトにアクセスするには、戻り値をラップ解除する必要があります。

実装

適用対象