WordPressClient.GetAsync(String, String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get post
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.WordPress.Models.PostModel> GetAsync(string siteId, string postId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.WordPress.Models.PostModel>
override this.GetAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.WordPress.Models.PostModel>
Public Overridable Function GetAsync (siteId As String, postId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PostModel)
Parameters
- siteId
- String
Site Id
- postId
- String
Post Id
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Get post response.
Remarks
Get post