TextAnalysisAuthoringClient.GetProjects 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.
Overloads
GetProjects(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, CancellationToken) |
Lists the existing projects. |
GetProjects(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, RequestContext) |
[Protocol Method] Lists the existing projects.
|
GetProjects(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, CancellationToken)
Lists the existing projects.
public virtual Azure.Pageable<Azure.AI.Language.Text.Authoring.TextAuthoringProjectMetadata> GetProjects(int? maxCount = default, int? skip = default, int? maxpagesize = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetProjects : Nullable<int> * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.Language.Text.Authoring.TextAuthoringProjectMetadata>
override this.GetProjects : Nullable<int> * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.Language.Text.Authoring.TextAuthoringProjectMetadata>
Public Overridable Function GetProjects (Optional maxCount As Nullable(Of Integer) = Nothing, Optional skip As Nullable(Of Integer) = Nothing, Optional maxpagesize As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of TextAuthoringProjectMetadata)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Applies to
GetProjects(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, RequestContext)
[Protocol Method] Lists the existing projects.
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
- Please try the simpler GetProjects(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, CancellationToken) convenience overload with strongly typed models first.
public virtual Azure.Pageable<BinaryData> GetProjects(int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context);
abstract member GetProjects : Nullable<int> * Nullable<int> * Nullable<int> * Azure.RequestContext -> Azure.Pageable<BinaryData>
override this.GetProjects : Nullable<int> * Nullable<int> * Nullable<int> * Azure.RequestContext -> Azure.Pageable<BinaryData>
Public Overridable Function GetProjects (maxCount As Nullable(Of Integer), skip As Nullable(Of Integer), maxpagesize As Nullable(Of Integer), context As RequestContext) As Pageable(Of BinaryData)
Parameters
- context
- RequestContext
The request context, which can override default behaviors of the client pipeline on a per-call basis.
Returns
The Pageable<T> from the service containing a list of BinaryData objects. Details of the body schema for each item in the collection are in the Remarks section below.
Exceptions
Service returned a non-success status code.