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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for