 | TemporalClientListNamespacesAsync Method |
Lists the Temporal namespaces.
Namespace:
Neon.Temporal
Assembly:
Neon.Temporal (in Neon.Temporal.dll) Version: 2.10.0-alpha
Syntaxpublic Task<NamespaceListPage> ListNamespacesAsync(
int pageSize,
byte[] nextPageToken = null
)
Public Function ListNamespacesAsync (
pageSize As Integer,
Optional nextPageToken As Byte() = Nothing
) As Task(Of NamespaceListPage)
public:
Task<NamespaceListPage^>^ ListNamespacesAsync(
int pageSize,
array<unsigned char>^ nextPageToken = nullptr
)
member ListNamespacesAsync :
pageSize : int *
?nextPageToken : byte[]
(* Defaults:
let _nextPageToken = defaultArg nextPageToken null
*)
-> Task<NamespaceListPage>
Parameters
- pageSize
- Type: SystemInt32
The maximum number of namespaces to be returned. This must be
greater than or equal to one.
- nextPageToken (Optional)
- Type: SystemByte
Optionally specifies an opaque token that can be used to retrieve subsequent
pages of namespaces.
Return Value
Type:
TaskNamespaceListPageA
NamespaceListPage with the namespaces.
Remarks
This method can be used to retrieve one or more pages of namespace
results. You'll pass pageSize as the maximum number
of namespaces to be returned per page. The NamespaceListPage
returned will list the namespaces and if there are more namespaces waiting
to be returned, will return token that can be used in a subsequent
call to retrieve the next page of results.
Note |
---|
NextPageToken will be set to null
when there are no more result pages remaining.
|
See Also