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
- environment
Type: System.Collections.Generic.IDictionary<String, Object>
OWIN environment dictionary which stores state information about the request, response and relevant server state.
Return Value
Type: System.Threading.Tasks.Task
Returns Task.