TestServer.Invoke Method (IDictionary<String, Object>)
Directly invokes the OWIN pipeline with the given OWIN environment.
Namespace: Microsoft.Owin.Testing
Assembly: Microsoft.Owin.Testing (in Microsoft.Owin.Testing.dll)
Syntax
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 As IDictionary(Of String, Object)
) As 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.
See Also
TestServer Class
Microsoft.Owin.Testing Namespace
Return to top