Publish.ProcessServerTlb メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > Publish.ProcessServerTlb メソッドの意味・解説 

Publish.ProcessServerTlb メソッド

サーバーのタイプ ライブラリを処理し、Web.config ファイルおよび Default.disco ファイルにコンポーネント エントリを追加または削除します。必要に応じてプロキシを生成します。

名前空間: System.EnterpriseServices.Internal
アセンブリ: System.EnterpriseServices (system.enterpriseservices.dll 内)
構文構文

Public Sub ProcessServerTlb ( _
    ProgId As String, _
    SrcTlbPath As String, _
    PhysicalPath As String, _
    Operation As String, _
    <OutAttribute> ByRef strAssemblyName As
 String, _
    <OutAttribute> ByRef TypeName As
 String, _
    <OutAttribute> ByRef Error As
 String _
)
Dim instance As Publish
Dim ProgId As String
Dim SrcTlbPath As String
Dim PhysicalPath As String
Dim Operation As String
Dim strAssemblyName As String
Dim TypeName As String
Dim Error As String

instance.ProcessServerTlb(ProgId, SrcTlbPath, PhysicalPath, Operation, strAssemblyName,
 TypeName, Error)
public void ProcessServerTlb (
    string ProgId,
    string SrcTlbPath,
    string PhysicalPath,
    string Operation,
    out string strAssemblyName,
    out string TypeName,
    out string Error
)
public:
virtual void ProcessServerTlb (
    String^ ProgId, 
    String^ SrcTlbPath, 
    String^ PhysicalPath, 
    String^ Operation, 
    [OutAttribute] String^% strAssemblyName, 
    [OutAttribute] String^% TypeName, 
    [OutAttribute] String^% Error
) sealed
public final void ProcessServerTlb (
    String ProgId, 
    String SrcTlbPath, 
    String PhysicalPath, 
    String Operation, 
    /** @attribute OutAttribute() */ /** @ref */ String strAssemblyName, 
    /** @attribute OutAttribute() */ /** @ref */ String TypeName, 
    /** @attribute OutAttribute() */ /** @ref */ String Error
)
JScript では、値型の引数は参照渡しされません。

パラメータ

ProgId

クラスのプログラム ID。

SrcTlbPath

タイプ ライブラリを格納しているファイルへのパス。

PhysicalPath

Web アプリケーション ディレクトリ。

Operation

実行する操作。

strAssemblyName

このメソッドが返されるときに、このパラメータにアセンブリの表示名を格納します。

TypeName

このメソッドが返されるときに、このパラメータにアセンブリの完全修飾型名を格納します。

Error

問題が発生した場合は、このメソッドが返されるときに、このパラメータにエラー メッセージを格納します。

例外例外
例外の種類条件

SecurityException

呼び出しチェイン内の呼び出し元が、アンマネージ コードへのアクセス許可を保持していません。

ServicedComponentException

SrcTlbPath パラメータが scrobj.dll を参照しました。そのため、スクリプト コンポーネントの SOAP 発行はサポートされていません。

解説解説

ProcessServerTlb は、typelib 内のコンポーネントのための探索ファイルおよび web.config ファイルにエントリを追加し、プロキシをアンマネージ コンポーネントの bin ディレクトリに生成またはコピーします。Operation が "delete" の場合は、コンポーネント エントリが Web.config ファイルおよび Default.disco ファイルから削除されます。

ProcessServerTlb の代わりに AddServerTlb と DeleteServerTlb を使用することをお勧めします。

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



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

Publish.ProcessServerTlb メソッドのお隣キーワード
検索ランキング

   

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



Publish.ProcessServerTlb メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS