DigitalTwinsClient.GetEventRoutes(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.
. Lists the event routes in a digital twins instance by iterating through a collection synchronously.
public virtual Azure.Pageable<Azure.DigitalTwins.Core.DigitalTwinsEventRoute> GetEventRoutes (System.Threading.CancellationToken cancellationToken = default);
abstract member GetEventRoutes : System.Threading.CancellationToken -> Azure.Pageable<Azure.DigitalTwins.Core.DigitalTwinsEventRoute>
override this.GetEventRoutes : System.Threading.CancellationToken -> Azure.Pageable<Azure.DigitalTwins.Core.DigitalTwinsEventRoute>
Public Overridable Function GetEventRoutes (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DigitalTwinsEventRoute)
Parameters
- cancellationToken
- CancellationToken
The cancellation token.
Returns
The pageable list Pageable<T> of application/json event routes and the HTTP response.
Exceptions
The exception that captures the errors from the service. Check the ErrorCode and Status properties for more details.
Remarks
For more samples, see our repo samples.
Applies to
See also
Azure SDK for .NET
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по