Click or drag to resize

IMethodHandlerTHierarchyItemProcessRequestAsync 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: 13.3.13068
Syntax
Task ProcessRequestAsync(
	ContextAsync<THierarchyItem> context,
	THierarchyItem item
)

Parameters

context
Type: ITHit.ServerContextAsyncTHierarchyItem
Instance of your context class derived from ContextAsyncTHierarchyItem class.
item
Type: THierarchyItem
Hierarchy item returned from GetHierarchyItemAsync(String) or null.

Return Value

Type: Task
.
Remarks
The ProcessRequestAsync(ContextAsyncTHierarchyItem, THierarchyItem) 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