Request.GetIRequestInterface Method

Returns the appropriate interface type for a Request to the OneGet Core. This is necessary because a Plugin calling back into the core has to pass an appropriately typed request object. This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.MetaProvider.PowerShell
Assembly: Microsoft.OneGet.MetaProvider.PowerShell (in Microsoft.OneGet.MetaProvider.PowerShell.dll)

Usage

'Usage
Dim instance As Request
Dim returnValue As Type

returnValue = instance.GetIRequestInterface

Syntax

'Declaration
Public MustOverride Function GetIRequestInterface As Type
public abstract Type GetIRequestInterface ()
public:
virtual Type^ GetIRequestInterface () abstract
public abstract Type GetIRequestInterface ()
public abstract function GetIRequestInterface () : Type

Return Value

Returns Type.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

Request Class
Request Members
Microsoft.OneGet.MetaProvider.PowerShell Namespace