Click or drag to resize

IFileGetCurrentVersionAsync Method

IT Hit WebDAV Classes Reference
Current item version. Null, if item is not under version control.

Namespace:  ITHit.WebDAV.Client
Assembly:  ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 6.0.4052-Beta
Syntax
Task<IVersion> GetCurrentVersionAsync(
	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: TaskIVersion

[Missing <returns> documentation for "M:ITHit.WebDAV.Client.IFile.GetCurrentVersionAsync(System.Collections.Generic.IDictionary{System.String,System.String},System.Threading.CancellationToken)"]

Exceptions
ExceptionCondition
UnauthorizedExceptionRequest is not authorized.
NotFoundExceptionThis resource doesn't exist on the server.
WebDavHttpExceptionServer returned unknown error.
WebDavExceptionIn case of any unexpected error.
See Also