Twins Client. Get Event Route(String, CancellationToken) Method
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.
Gets an event route by Id synchronously.
public virtual Azure.Response<Azure.DigitalTwins.Core.DigitalTwinsEventRoute> GetEventRoute (string eventRouteId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEventRoute : string * System.Threading.CancellationToken -> Azure.Response<Azure.DigitalTwins.Core.DigitalTwinsEventRoute> override this.GetEventRoute : string * System.Threading.CancellationToken -> Azure.Response<Azure.DigitalTwins.Core.DigitalTwinsEventRoute>
Public Overridable Function GetEventRoute (eventRouteId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DigitalTwinsEventRoute)
The Id of the event route.
The cancellation token.
The application/json event routes and the http response Response<T>.
The exception is thrown when
For more samples, see our repo samples.