DavContextBase Constructor (HttpListenerContext, HttpListenerPrefixCollection)
IT Hit WebDAV Classes Reference
Initializes context for HttpListener-based server.
Namespace: ITHit.WebDAV.ServerAssembly: ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 4.5.3121.0
Syntax public DavContextBase(
HttpListenerContext context,
HttpListenerPrefixCollection prefixes
)
Public Sub New (
context As HttpListenerContext,
prefixes As HttpListenerPrefixCollection
)
public:
DavContextBase(
HttpListenerContext^ context,
HttpListenerPrefixCollection^ prefixes
)
new :
context : HttpListenerContext *
prefixes : HttpListenerPrefixCollection -> DavContextBase
Parameters
- context
- Type: System.NetHttpListenerContext
An HttpListenerContext object. - prefixes
- Type: System.NetHttpListenerPrefixCollection
List of HttpListener prefixes.
Remarks
You must create new context in each request to your WebDAV server passing
listener context and list of HttpListener prefixes.
See Also