OwinContext.Set<T>(String, T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the given key and value in the OWIN environment.
public virtual Microsoft.Owin.IOwinContext Set<T> (string key, T value);
abstract member Set : string * 'T -> Microsoft.Owin.IOwinContext
override this.Set : string * 'T -> Microsoft.Owin.IOwinContext
Public Overridable Function Set(Of T) (key As String, value As T) As IOwinContext
Type Parameters
- T
The type of the value.
Parameters
- key
- String
The key of the value to set.
- value
- T
The value to set.
Returns
This instance.