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 |
Parameters
- requestedType
- The Type of the object that the new ObjRef will reference.
Return Value
Information required to generate a proxy.
Exceptions
| Exception | Description |
| SecurityException | The immediate caller does not have infrastructure permission. |
| RemotingException | This instance is not a valid remoting object. |
See Also