Click or drag to resize

IFileAsyncSetAutoVersionAsync Method (AutoVersion, String)

IT Hit WebDAV Classes Reference
Sets how checked-in item responds to WebDAV client attempts to modify its content or properties.

Namespace:  ITHit.WebDAV.Client
Assembly:  ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 2.0.420.0
Syntax
Task SetAutoVersionAsync(
	AutoVersion autoVersion,
	string lockToken
)

Parameters

autoVersion
Type: ITHit.WebDAV.ClientAutoVersion
Auto-versioning mode.
lockToken
Type: SystemString
Lock token for this item.

Return Value

Type: Task

[Missing <returns> documentation for "M:ITHit.WebDAV.Client.IFileAsync.SetAutoVersionAsync(ITHit.WebDAV.Client.AutoVersion,System.String)"]

Exceptions
ExceptionCondition
PropertyExceptionAttempt to set auto-versioning mode failed.
LockedExceptionThe resource is locked and no lock token was provided.
UnauthorizedExceptionRequest is not authorized.
NotFoundExceptionThis resource doesn't exist on the server.
WebDavHttpExceptionServer returned unknown error.
WebDavExceptionIn case of any unexpected error.
See Also