Click or drag to resize

IHierarchyItemGetSourceAsync Method

IT Hit WebDAV Classes Reference
Retrieves media type independent links.

Namespace:  ITHit.WebDAV.Client
Assembly:  ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 6.0.4052-Beta
Syntax
Task<Source[]> GetSourceAsync(
	IDictionary<string, string> headers = null,
	CancellationToken cancellationToken = null
)

Parameters

headers (Optional)
Type: System.Collections.GenericIDictionaryString, String
Request headers.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.

Return Value

Type: TaskSource
Media type independent links.
Exceptions
ExceptionCondition
NotFoundExceptionThis item doesn't exist on the server.
PropertyForbiddenExceptionUser has not enough rights to obtain one of requested properties.
PropertyConflictException The client has provided a value whose semantics are not appropriate for the property. This includes trying to set read-only properties.
PropertyExceptionServer returned unknown error.
WebDavExceptionUnexpected error occurred.
Remarks
Empty array is returned if no links found or property is not supported.
See Also