WikiHttpClient.CreateOrUpdatePageViewStatsAsync Method
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.
CreateOrUpdatePageViewStatsAsync(String, String, GitVersionDescriptor, String, String, Object, CancellationToken) |
[Preview API] Creates a new page view stats resource or updates an existing page view stats resource. |
CreateOrUpdatePageViewStatsAsync(String, Guid, GitVersionDescriptor, String, String, Object, CancellationToken) |
[Preview API] Creates a new page view stats resource or updates an existing page view stats resource. |
CreateOrUpdatePageViewStatsAsync(Guid, Guid, GitVersionDescriptor, String, String, Object, CancellationToken) |
[Preview API] Creates a new page view stats resource or updates an existing page view stats resource. |
CreateOrUpdatePageViewStatsAsync(Guid, String, GitVersionDescriptor, String, String, Object, CancellationToken) |
[Preview API] Creates a new page view stats resource or updates an existing page view stats resource. |
CreateOrUpdatePageViewStatsAsync(String, String, GitVersionDescriptor, String, String, Object, CancellationToken)
[Preview API] Creates a new page view stats resource or updates an existing page view stats resource.
public System.Threading.Tasks.Task<Microsoft.TeamFoundation.Wiki.WebApi.WikiPageViewStats> CreateOrUpdatePageViewStatsAsync (string project, string wikiIdentifier, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor wikiVersion, string path, string oldPath = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
member this.CreateOrUpdatePageViewStatsAsync : string * string * Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Wiki.WebApi.WikiPageViewStats>
Parameters
- project
- String
Project ID or project name
- wikiIdentifier
- String
Wiki name or Id.
- wikiVersion
- GitVersionDescriptor
Wiki version.
- path
- String
Wiki page path.
- oldPath
- String
Old page path. This is optional and required to rename path in existing page view stats.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
Azure DevOps Services .NET SDK latest and Azure DevOps Services .NET SDK preview
Product | Versions |
---|---|
Azure DevOps Services .NET SDK | preview, latest |
CreateOrUpdatePageViewStatsAsync(String, Guid, GitVersionDescriptor, String, String, Object, CancellationToken)
[Preview API] Creates a new page view stats resource or updates an existing page view stats resource.
public System.Threading.Tasks.Task<Microsoft.TeamFoundation.Wiki.WebApi.WikiPageViewStats> CreateOrUpdatePageViewStatsAsync (string project, Guid wikiIdentifier, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor wikiVersion, string path, string oldPath = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
member this.CreateOrUpdatePageViewStatsAsync : string * Guid * Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Wiki.WebApi.WikiPageViewStats>
Parameters
- project
- String
Project ID or project name
- wikiIdentifier
- Guid
Wiki name or Id.
- wikiVersion
- GitVersionDescriptor
Wiki version.
- path
- String
Wiki page path.
- oldPath
- String
Old page path. This is optional and required to rename path in existing page view stats.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
Azure DevOps Services .NET SDK latest and Azure DevOps Services .NET SDK preview
Product | Versions |
---|---|
Azure DevOps Services .NET SDK | preview, latest |
CreateOrUpdatePageViewStatsAsync(Guid, Guid, GitVersionDescriptor, String, String, Object, CancellationToken)
[Preview API] Creates a new page view stats resource or updates an existing page view stats resource.
public System.Threading.Tasks.Task<Microsoft.TeamFoundation.Wiki.WebApi.WikiPageViewStats> CreateOrUpdatePageViewStatsAsync (Guid project, Guid wikiIdentifier, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor wikiVersion, string path, string oldPath = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
member this.CreateOrUpdatePageViewStatsAsync : Guid * Guid * Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Wiki.WebApi.WikiPageViewStats>
Parameters
- project
- Guid
Project ID
- wikiIdentifier
- Guid
Wiki name or Id.
- wikiVersion
- GitVersionDescriptor
Wiki version.
- path
- String
Wiki page path.
- oldPath
- String
Old page path. This is optional and required to rename path in existing page view stats.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
Azure DevOps Services .NET SDK latest and Azure DevOps Services .NET SDK preview
Product | Versions |
---|---|
Azure DevOps Services .NET SDK | preview, latest |
CreateOrUpdatePageViewStatsAsync(Guid, String, GitVersionDescriptor, String, String, Object, CancellationToken)
[Preview API] Creates a new page view stats resource or updates an existing page view stats resource.
public System.Threading.Tasks.Task<Microsoft.TeamFoundation.Wiki.WebApi.WikiPageViewStats> CreateOrUpdatePageViewStatsAsync (Guid project, string wikiIdentifier, Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor wikiVersion, string path, string oldPath = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
member this.CreateOrUpdatePageViewStatsAsync : Guid * string * Microsoft.TeamFoundation.SourceControl.WebApi.GitVersionDescriptor * string * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.Wiki.WebApi.WikiPageViewStats>
Parameters
- project
- Guid
Project ID
- wikiIdentifier
- String
Wiki name or Id.
- wikiVersion
- GitVersionDescriptor
Wiki version.
- path
- String
Wiki page path.
- oldPath
- String
Old page path. This is optional and required to rename path in existing page view stats.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
Azure DevOps Services .NET SDK latest and Azure DevOps Services .NET SDK preview
Product | Versions |
---|---|
Azure DevOps Services .NET SDK | preview, latest |