CreateObjRef Method

See Also

FtpDLX Class  | FtpDLX Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

JScript

Show All

requestedType
The Type of the object that the new ObjRef will reference.
See Also Requirements Languages WeOnlyDo.Client.FTP Send comments on this topic.

CreateObjRef Method

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

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

Parameters

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

Return Type

Information required to generate a proxy.

Exceptions

ExceptionDescription
SecurityExceptionThe immediate caller does not have infrastructure permission.
RemotingExceptionThis instance is not a valid remoting object.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

FtpDLX Class  | FtpDLX Members

 

 


© WeOnlyDo Software. All Rights Reserved.