Click or drag to resize

MultistatusExceptionRenderInlineAsync Method

IT Hit WebDAV Classes Reference
Writes exception as part of MultistatusException.

Namespace:  ITHit.WebDAV.Server
Assembly:  ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 11.3.10719
Syntax
public override Task RenderInlineAsync(
	XmlWriter writer,
	ContextAsync<IHierarchyItemAsync> context
)

public override Task RenderInlineAsync(
	XmlWriter writer,
	ContextAsync<IHierarchyItemAsync> context
)

Parameters

writer
Type: System.XmlXmlWriter
XmlWriter to which to write exception.
context
Type: ITHit.ServerContextAsyncIHierarchyItemAsync
Instance of ContextAsyncTHierarchyItemAsync.

Return Value

Type: Task

[Missing <returns> documentation for "M:ITHit.WebDAV.Server.MultistatusException.RenderInlineAsync(System.Xml.XmlWriter,ITHit.Server.ContextAsync{ITHit.WebDAV.Server.IHierarchyItemAsync})"]

Remarks
Only body shall be written. Text in Message shall be omitted because it will be written as part of MultistatusException exception.
<D:error xmlns:D="DAV:">
   <D:must-be-checked-out/>
</D:error>
See Also