MarshalByRefObject.CreateObjRef メソッド

リモート オブジェクトとの通信に使用するプロキシの生成に必要な情報をすべて格納しているオブジェクトを作成します。

Public Overridable Function CreateObjRef( _
   ByVal requestedType As Type _) As ObjRef
[C#]
public virtual ObjRef CreateObjRef(TyperequestedType);
[C++]
public: virtual ObjRef* CreateObjRef(Type* requestedType);
[JScript]
public function CreateObjRef(
   requestedType : Type) : ObjRef;

パラメータ

  • requestedType
    新しい ObjRef が参照するオブジェクトの Type

戻り値

プロキシを生成するのに必要な情報。

例外

例外の種類 条件
RemotingException このインスタンスが有効なリモート処理オブジェクトではありません。
SecurityException 直前の呼び出し元に、インフラストラクチャ アクセス許可がありません。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

MarshalByRefObject クラス | MarshalByRefObject メンバ | System 名前空間