Click or drag to resize

IPropertyHandlerAsyncWriteAsync 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: 11.3.10719
Syntax
Task WriteAsync(
	XmlWriter writer,
	IHierarchyItemAsync item,
	ContextAsync<IHierarchyItemAsync> context
)

Task WriteAsync(
	XmlWriter writer,
	IHierarchyItemAsync item,
	ContextAsync<IHierarchyItemAsync> context
)

Parameters

writer
Type: System.XmlXmlWriter
XmlWriter to which to write property value.
item
Type: ITHit.WebDAV.ServerIHierarchyItemAsync
Item for which to retrieve property.
context
Type: ITHit.ServerContextAsyncIHierarchyItemAsync
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