Share via


Response Constructor (Object, PackageProvider, String, Action)

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.Providers.Package
Assembly: Microsoft.OneGet (in Microsoft.OneGet.dll)

Usage

'Usage
Dim requestImpl As Object
Dim provider As PackageProvider
Dim packageStatus As String
Dim call As Action(Of Object)

Dim instance As New Response(Of T)(requestImpl, provider, packageStatus, call)

Syntax

'Declaration
Public Sub New ( _
    requestImpl As Object, _
    provider As PackageProvider, _
    packageStatus As String, _
    call As Action(Of Object) _
)
public Response (
    Object requestImpl,
    PackageProvider provider,
    string packageStatus,
    Action<Object> call
)
public:
Response (
    Object^ requestImpl, 
    PackageProvider^ provider, 
    String^ packageStatus, 
    Action<Object^>^ call
)
public Response (
    Object requestImpl, 
    PackageProvider provider, 
    String packageStatus, 
    Action<Object> call
)
public function Response (
    requestImpl : Object, 
    provider : PackageProvider, 
    packageStatus : String, 
    call : Action<Object>
)

Parameters

  • requestImpl
  • provider
  • packageStatus
  • call

Platforms

Target Platforms

See Also

Reference

Response Generic Class
Response Members
Microsoft.OneGet.Providers.Package Namespace