Click or drag to resize
TwitterPostInfoProviderTryCancelScheduledPublishTwitterPostInternal Method
Tries to cancel scheduled publish of Twitter post. If successful, the post can be modified using PublishTwitterPost(Int32). (Has to be called before modification since Twitter does not allow published posts to be modified). There is no need to call this method when deleting a post since posts can be deleted even after publication.

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 8.2.23
Syntax
C#
protected virtual bool TryCancelScheduledPublishTwitterPostInternal(
	TwitterPostInfo postInfo
)

Parameters

postInfo
Type: CMS.SocialMarketingTwitterPostInfo
The TwitterPostInfo that shall be canceled.

Return Value

Type: Boolean
True if successfully canceled (or neither post or scheduled task does not exist), false if the post has already been published (or the task is already running).
See Also