TestServer.Invoke Method

Directly invokes the OWIN pipeline with the given OWIN environment.

Namespace:  Microsoft.Owin.Testing
Assembly:  Microsoft.Owin.Testing (in Microsoft.Owin.Testing.dll)

Syntax

'Declaration
Public Function Invoke ( _
    environment As IDictionary(Of String, Object) _
) As Task
'Usage
Dim instance As TestServer 
Dim environment As IDictionary(Of String, Object)
Dim returnValue As Task 

returnValue = instance.Invoke(environment)
public Task Invoke(
    IDictionary<string, Object> environment
)
public:
Task^ Invoke(
    IDictionary<String^, Object^>^ environment
)
member Invoke : 
        environment:IDictionary<string, Object> -> Task
public function Invoke(
    environment : IDictionary<String, Object>
) : Task

Parameters

Return Value

Type: System.Threading.Tasks.Task
Returns Task.

See Also

Reference

TestServer Class

Microsoft.Owin.Testing Namespace