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

MannsWeblogProvider..::..AddPostAsync Method

add post as an asynchronous operation.

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

Syntax


public Task<string> AddPostAsync(
	string blogid,
	string username,
	string password,
	Post post,
	bool publish
)

Parameters

blogid
Type: String
The blogid.
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.String>.

Exceptions


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