Click or drag to resize

DavContextBaseBeforeResponse Method

IT Hit WebDAV Classes Reference
This method is called right before engine starts writing response.

Namespace: ITHit.WebDAV.Server
Assembly: ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 4.5.3121.0
Syntax
public virtual void BeforeResponse()
Remarks

Specifically this method is called when the request is parsed, engine has called all methods which shall change state of an item and is ready to start writing response.

However methods of interfaces which read data may also be called after this method.

This method can be overriden to either commit or rollback transaction.

In your implementation of IMethodHandler you need to call EnsureBeforeResponseWasCalled instead of this method to avoid double execution.

See Also