Click or drag to resize

IMethodHandlerAsyncTHierarchyItemAsyncProcessRequestAsync Method

IT Hit WebDAV Classes Reference
Enables processing of HTTP Web requests by a custom handler.

Namespace:  ITHit.Server.Extensibility
Assembly:  ITHit.Server (in ITHit.Server.dll) Version: 11.3.10719
Syntax
Task ProcessRequestAsync(
	ContextAsync<THierarchyItemAsync> context,
	THierarchyItemAsync item
)

Task ProcessRequestAsync(
	ContextAsync<THierarchyItemAsync> context,
	THierarchyItemAsync item
)

Parameters

context
Type: ITHit.ServerContextAsyncTHierarchyItemAsync
Instance of your context class derived from ContextAsyncTHierarchyItemAsync class.
item
Type: THierarchyItemAsync
Hierarchy item returned from GetHierarchyItemAsync(String) or null.

Return Value

Type: Task
.
Remarks
The ProcessRequestAsync(ContextAsyncTHierarchyItemAsync, THierarchyItemAsync) method is called by the engine during RunAsync(ContextAsyncTHierarchyItemAsync) call. The hierarchy item returned from GetHierarchyItemAsync(String) is passed to this method. If GetHierarchyItemAsync(String) returns null the null is passed.
See Also