WebDavSessionCreateFolderAsync Method
IT Hit WebDAV Classes Reference
Creates a new folder.
Namespace:
ITHit.WebDAV.Client
Assembly:
ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 6.0.4052-Beta
Syntax public Task CreateFolderAsync(
Uri newFolder,
LockUriTokenPair[] lockTokens = null,
IDictionary<string, string> headers = null,
CancellationToken cancellationToken = null
)
Public Function CreateFolderAsync (
newFolder As Uri,
Optional lockTokens As LockUriTokenPair() = Nothing,
Optional headers As IDictionary(Of String, String) = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
Task^ CreateFolderAsync(
Uri^ newFolder,
array<LockUriTokenPair^>^ lockTokens = nullptr,
IDictionary<String^, String^>^ headers = nullptr,
CancellationToken cancellationToken = nullptr
)
member CreateFolderAsync :
newFolder : Uri *
?lockTokens : LockUriTokenPair[] *
?headers : IDictionary<string, string> *
?cancellationToken : CancellationToken
(* Defaults:
let _lockTokens = defaultArg lockTokens null
let _headers = defaultArg headers null
let _cancellationToken = defaultArg cancellationToken null
*)
-> Task
Parameters
- newFolder
- Type: SystemUri
New folder URI. - lockTokens (Optional)
- Type: ITHit.WebDAV.ClientLockUriTokenPair
Parent folder lock tokens. - headers (Optional)
- Type: System.Collections.GenericIDictionaryString, String
Request headers. - cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.
Return Value
Type:
Task.
See Also