AssemblyBuilder.SetEntryPointとは? わかりやすく解説

AssemblyBuilder.SetEntryPoint メソッド (MethodInfo, PEFileKinds)

このアセンブリのエントリ ポイント設定し構築するポータブル実行可能 (PE) ファイルの型を定義します

名前空間: System.Reflection.Emit
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Public Sub SetEntryPoint ( _
    entryMethod As MethodInfo, _
    fileKind As PEFileKinds _
)
Dim instance As AssemblyBuilder
Dim entryMethod As MethodInfo
Dim fileKind As PEFileKinds

instance.SetEntryPoint(entryMethod, fileKind)
public void SetEntryPoint (
    MethodInfo entryMethod,
    PEFileKinds fileKind
)
public:
void SetEntryPoint (
    MethodInfo^ entryMethod, 
    PEFileKinds fileKind
)
public void SetEntryPoint (
    MethodInfo entryMethod, 
    PEFileKinds fileKind
)
public function SetEntryPoint (
    entryMethod : MethodInfo, 
    fileKind : PEFileKinds
)

パラメータ

entryMethod

この動的アセンブリのエントリ ポイントを表すメソッドへの参照

fileKind

構築するアセンブリ実行可能ファイルの型。

例外例外
例外種類条件

ArgumentNullException

entryMethodnull 参照 (Visual Basic では Nothing) です。

InvalidOperationException

このアセンブリentryMethod含まれていません。

SecurityException

呼び出し元に必要なアクセス許可がありません。

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
AssemblyBuilder クラス
AssemblyBuilder メンバ
System.Reflection.Emit 名前空間

AssemblyBuilder.SetEntryPoint メソッド

この動的アセンブリのエントリ ポイント設定します
オーバーロードの一覧オーバーロードの一覧

名前 説明
AssemblyBuilder.SetEntryPoint (MethodInfo) コンソール アプリケーション構築するという前提で、この動的アセンブリのエントリ ポイント設定します
AssemblyBuilder.SetEntryPoint (MethodInfo, PEFileKinds) このアセンブリのエントリ ポイント設定し構築するポータブル実行可能 (PE) ファイルの型を定義します
参照参照

関連項目

AssemblyBuilder クラス
AssemblyBuilder メンバ
System.Reflection.Emit 名前空間

AssemblyBuilder.SetEntryPoint メソッド (MethodInfo)

コンソール アプリケーション構築するという前提で、この動的アセンブリのエントリ ポイント設定します

名前空間: System.Reflection.Emit
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Public Sub SetEntryPoint ( _
    entryMethod As MethodInfo _
)
Dim instance As AssemblyBuilder
Dim entryMethod As MethodInfo

instance.SetEntryPoint(entryMethod)
public void SetEntryPoint (
    MethodInfo entryMethod
)
public:
void SetEntryPoint (
    MethodInfo^ entryMethod
)
public void SetEntryPoint (
    MethodInfo entryMethod
)
public function SetEntryPoint (
    entryMethod : MethodInfo
)

パラメータ

entryMethod

この動的アセンブリのエントリ ポイントを表すメソッドへの参照

例外例外
例外種類条件

ArgumentNullException

entryMethodnull 参照 (Visual Basic では Nothing) です。

InvalidOperationException

このアセンブリentryMethod含まれていません。

SecurityException

呼び出し元に必要なアクセス許可がありません。

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
AssemblyBuilder クラス
AssemblyBuilder メンバ
System.Reflection.Emit 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からAssemblyBuilder.SetEntryPointを検索した結果を表示しています。
Weblioに収録されているすべての辞書からAssemblyBuilder.SetEntryPointを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からAssemblyBuilder.SetEntryPoint を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「AssemblyBuilder.SetEntryPoint」の関連用語

AssemblyBuilder.SetEntryPointのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



AssemblyBuilder.SetEntryPointのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS