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.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
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