Click or drag to resize

DelegatingStreamCreateObjRef Method

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

Namespace:  MongoDB.Driver.GridFS
Assembly:  MongoDB.Driver.GridFS (in MongoDB.Driver.GridFS.dll) Version: 2.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
Syntax
public override ObjRef CreateObjRef(
	Type requestedType
)

Parameters

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

Return Value

Type: ObjRef
Information required to generate a proxy.
Exceptions
ExceptionCondition
RemotingExceptionThis instance is not a valid remoting object.
SecurityExceptionThe immediate caller does not have infrastructure permission.
See Also