AppBuilder.Build Method (Type)
The Build is called at the point when all of the middleware should be chained together. This is typically done by the hosting component which created the app builder, and does not need to be called by the startup method if the IAppBuilder is passed in.
Namespace: Microsoft.Owin.Builder
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
public object Build(
Type returnType
)
public:
virtual Object^ Build(
Type^ returnType
) sealed
abstract Build :
returnType:Type -> Object
override Build :
returnType:Type -> Object
Public Function Build (
returnType As Type
) As Object
Parameters
returnType
Type: System.TypeThe Type argument indicates which calling convention should be returned, and is typically typeof(<typeref name="Func<IDictionary<string,object>, Task>"/>) for the OWIN calling convention.
Return Value
Type: System.Object
Returns an instance of the pipeline's entry point. This object may be safely cast to the type which was provided
Implements
IAppBuilder.Build(Type)
See Also
AppBuilder Class
Microsoft.Owin.Builder Namespace
Return to top