Click or drag to resize

IPropertyHandlerWriteAsync Method

IT Hit WebDAV Classes Reference
Writes property value to xml writer.

Namespace:  ITHit.WebDAV.Server.Extensibility
Assembly:  ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 13.3.13068
Syntax
Task WriteAsync(
	XmlWriter writer,
	IHierarchyItem item,
	ContextAsync<IHierarchyItem> context
)

Parameters

writer
Type: System.XmlXmlWriter
XmlWriter to which to write property value.
item
Type: ITHit.WebDAV.ServerIHierarchyItem
Item for which to retrieve property.
context
Type: ITHit.ServerContextAsyncIHierarchyItem
Context.

Return Value

Type: Task
.
Remarks
Property writer shall retrieve and validate all values first and only then write anything to writer. Otherwise exception may be thrown while retrieving properties and output XML will be broken.
See Also