DavEngineAsyncRunAsync Method
IT Hit WebDAV Classes Reference
Processes WebDAV request and generates WebDAV response.
Namespace:
ITHit.WebDAV.Server
Assembly:
ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 13.3.13068
Syntax public override Task RunAsync(
ContextAsync<IHierarchyItem> context
)
Public Overrides Function RunAsync (
context As ContextAsync(Of IHierarchyItem)
) As Task
public:
virtual Task^ RunAsync(
ContextAsync<IHierarchyItem^>^ context
) override
abstract RunAsync :
context : ContextAsync<IHierarchyItem> -> Task
override RunAsync :
context : ContextAsync<IHierarchyItem> -> Task
Parameters
- context
- Type: ITHit.ServerContextAsyncIHierarchyItem
Instance of your context class derived from ContextAsyncTHierarchyItem class.
Return Value
Type:
Task .
Remarks
You must call this method in each request to your WebDAV server passing your
context class derived from
ContextAsyncTHierarchyItem as input parameter.
Examples DavEngineAsync engine = new DavEngineAsync();
engine.License = "...";
...
MyContext context = new MyContext(HttpContext.Current);
engine.RunAsync(context);
See Also