Version

CreateObjRef Method (WinCarouselRecordReplayServer)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Syntax
'Declaration
 
Public Overridable Function CreateObjRef( _
   ByVal requestedType As System.Type _
) As System.Runtime.Remoting.ObjRef
public virtual System.Runtime.Remoting.ObjRef CreateObjRef( 
   System.Type requestedType
)

Parameters

requestedType
The System.Type of the object that the new System.Runtime.Remoting.ObjRef will reference.

Return Value

Information required to generate a proxy.
Exceptions
ExceptionDescription
System.Runtime.Remoting.RemotingExceptionThis instance is not a valid remoting object.
System.Security.SecurityExceptionThe immediate caller does not have infrastructure permission.
Requirements

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

See Also