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
)
Function GetCurrentVersionAsync (
Optional headers As IDictionary(Of String, String) = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IVersion)
Task<IVersion^>^ GetCurrentVersionAsync(
IDictionary<String^, String^>^ headers = nullptr,
CancellationToken cancellationToken = nullptr
)
abstract GetCurrentVersionAsync :
?headers : IDictionary<string, string> *
?cancellationToken : CancellationToken
(* Defaults:
let _headers = defaultArg headers null
let _cancellationToken = defaultArg cancellationToken null
*)
-> Task<IVersion>
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 See Also