バージョン

CreateObjRef メソッド (Licensing)

リモート オブジェクトとの通信に使用するプロキシの生成に必要な情報をすべて格納しているオブジェクトを作成します。
シンタックス
'宣言
 
Public Overridable Function CreateObjRef( _
   ByVal requestedType As System.Type _
) As System.Runtime.Remoting.ObjRef
public virtual System.Runtime.Remoting.ObjRef CreateObjRef( 
   System.Type requestedType
)

パラメータ

requestedType
新しい System.Runtime.Remoting.ObjRef が参照するオブジェクトの System.Type

戻り値の型

プロキシを生成するのに必要な情報。
例外
例外解説
System.Runtime.Remoting.RemotingExceptionこのインスタンスが有効なリモート処理オブジェクトではありません。
System.Security.SecurityException直前の呼び出し元に、インフラストラクチャ アクセス許可がありません。
プラットフォーム

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

参照