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
SyntaxTask WriteAsync(
XmlWriter writer,
IHierarchyItemAsync item,
ContextAsync<IHierarchyItemAsync> context
)
Task WriteAsync(
XmlWriter writer,
IHierarchyItemAsync item,
ContextAsync<IHierarchyItemAsync> context
)
Function WriteAsync (
writer As XmlWriter,
item As IHierarchyItemAsync,
context As ContextAsync(Of IHierarchyItemAsync)
) As Task
Function WriteAsync (
writer As XmlWriter,
item As IHierarchyItemAsync,
context As ContextAsync(Of IHierarchyItemAsync)
) As Task
Task^ WriteAsync(
XmlWriter^ writer,
IHierarchyItemAsync^ item,
ContextAsync<IHierarchyItemAsync^>^ context
)
Task^ WriteAsync(
XmlWriter^ writer,
IHierarchyItemAsync^ item,
ContextAsync<IHierarchyItemAsync^>^ context
)
abstract WriteAsync :
writer : XmlWriter *
item : IHierarchyItemAsync *
context : ContextAsync<IHierarchyItemAsync> -> Task
abstract WriteAsync :
writer : XmlWriter *
item : IHierarchyItemAsync *
context : ContextAsync<IHierarchyItemAsync> -> Task
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