| WikiPageDeleteAsync(String, AutoWatchBehavior, CancellationToken) Method |
This is preliminary documentation and is subject to change.
Deletes the current page.
Namespace: WikiClientLibrary.PagesAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public Task<bool> DeleteAsync(
string reason,
AutoWatchBehavior watch,
CancellationToken cancellationToken
)
Public Function DeleteAsync (
reason As String,
watch As AutoWatchBehavior,
cancellationToken As CancellationToken
) As Task(Of Boolean)
Dim instance As WikiPage
Dim reason As String
Dim watch As AutoWatchBehavior
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of Boolean)
returnValue = instance.DeleteAsync(reason,
watch, cancellationToken)
public:
Task<bool>^ DeleteAsync(
String^ reason,
AutoWatchBehavior watch,
CancellationToken cancellationToken
)
member DeleteAsync :
reason : string *
watch : AutoWatchBehavior *
cancellationToken : CancellationToken -> Task<bool>
Parameters
- reason String
[Missing <param name="reason"/> documentation for "M:WikiClientLibrary.Pages.WikiPage.DeleteAsync(System.String,WikiClientLibrary.Pages.AutoWatchBehavior,System.Threading.CancellationToken)"]
- watch AutoWatchBehavior
[Missing <param name="watch"/> documentation for "M:WikiClientLibrary.Pages.WikiPage.DeleteAsync(System.String,WikiClientLibrary.Pages.AutoWatchBehavior,System.Threading.CancellationToken)"]
- cancellationToken CancellationToken
[Missing <param name="cancellationToken"/> documentation for "M:WikiClientLibrary.Pages.WikiPage.DeleteAsync(System.String,WikiClientLibrary.Pages.AutoWatchBehavior,System.Threading.CancellationToken)"]
Return Value
TaskBooleanSee Also