MannsBlog.Data Namespace
MannsBlog.Services Namespace
MannsBlog.Services.DataProviders Namespace
MannsBlog

MannsWeblogProvider..::..EditPostAsync Method

edit post as an asynchronous operation.

Namespace:  MannsBlog.MetaWeblog
Assembly:  MannsBlog (in MannsBlog.exe)

Syntax


public Task<bool> EditPostAsync(
	string postid,
	string username,
	string password,
	Post post,
	bool publish
)

Parameters

postid
Type: String
The postid.
username
Type: String
The username.
password
Type: String
The password.
post
Type: Post
The post.
publish
Type: Boolean
if set to true [publish].

Return Value

Task<System.Boolean>.

Exceptions


ExceptionCondition
[MetaWeblogException] Failed to specify categories or Failed to edit the post.