IEExecuteRemote.ExecuteAsAssembly メソッド

定義

ファイル名またはパス、セキュリティ証拠、ハッシュ値、およびハッシュ アルゴリズムを指定して、アセンブリを読み込み、エントリ ポイントを呼び出します。

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

public:
 int ExecuteAsAssembly(System::String ^ file, System::Security::Policy::Evidence ^ evidence, cli::array <System::Byte> ^ hash, System::Configuration::Assemblies::AssemblyHashAlgorithm id);
public int ExecuteAsAssembly (string file, System.Security.Policy.Evidence evidence, byte[] hash, System.Configuration.Assemblies.AssemblyHashAlgorithm id);
member this.ExecuteAsAssembly : string * System.Security.Policy.Evidence * byte[] * System.Configuration.Assemblies.AssemblyHashAlgorithm -> int
Public Function ExecuteAsAssembly (file As String, evidence As Evidence, hash As Byte(), id As AssemblyHashAlgorithm) As Integer

パラメーター

file
String

アセンブリのマニフェストを格納しているファイルの名前またはパス。

evidence
Evidence

アセンブリを読み込むために必要な証拠。

hash
Byte[]

計算されたハッシュ コードの値。

id
AssemblyHashAlgorithm

ファイルをハッシュし、厳密な名前を生成するために使用されたハッシュ アルゴリズム。

戻り値

読み込まれるアセンブリ。

適用対象