SecureFactory.CreateInstanceWithSecurity メソッド

定義

セキュリティで保護されたクラス ファクトリを表す COM 型の新しいインスタンスを作成します。

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

public:
 virtual System::Object ^ CreateInstanceWithSecurity(int dwFlag, int dwZone, System::String ^ pURL, System::String ^ uniqueIdString, System::String ^ link, System::String ^ licenses);
public virtual object CreateInstanceWithSecurity(int dwFlag, int dwZone, string pURL, string uniqueIdString, string link, string licenses);
abstract member CreateInstanceWithSecurity : int * int * string * string * string * string -> obj
override this.CreateInstanceWithSecurity : int * int * string * string * string * string -> obj
Public Overridable Function CreateInstanceWithSecurity (dwFlag As Integer, dwZone As Integer, pURL As String, uniqueIdString As String, link As String, licenses As String) As Object

パラメーター

dwFlag
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

pURL
String

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

uniqueIdString
String

サイトの一意の ID。

link
String

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

licenses
String

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

返品

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

実装

適用対象