Infragistics2.Shared.v8.1
CreateObjRef Method
See Also 
Infragistics.Shared Namespace > SubObjectsCollectionBase Class : CreateObjRef Method

requestedType
The Type of the object that the new ObjRef will reference.
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

Syntax

Visual Basic (Declaration) 
Public Overridable Function CreateObjRef( _
   ByVal requestedType As Type _
) As ObjRef
C# 
public virtual ObjRef CreateObjRef( 
   Type requestedType
)

Parameters

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

Return Value

Information required to generate a proxy.

Exceptions

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

See Also