Partager via


Task.CreateObjRef Method (Type)

 

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

Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

Syntax

[SecurityCriticalAttribute]
public override sealed ObjRef CreateObjRef(
    Type requestedType
)
public:
[SecurityCriticalAttribute]
virtual ObjRef^ CreateObjRef(
    Type^ requestedType
) override sealed
<SecurityCriticalAttribute>
Public Overrides NotOverridable Function CreateObjRef (
    requestedType As Type
) As ObjRef

Parameters

Return Value

Type: System.Runtime.Remoting.ObjRef

An instance of ObjRef that contains information that is required to generate a proxy.

See Also

Task Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Return to top