Skip to content

Commit

Permalink
Ensure device client methods throw an object disposed exception (#3212)
Browse files Browse the repository at this point in the history
* Ensure device client methods throw an object disposed exception

* Fix up docs
  • Loading branch information
David R. Williamson authored Mar 30, 2023
1 parent 6f2033b commit 2a70b99
Show file tree
Hide file tree
Showing 6 changed files with 302 additions and 85 deletions.
1 change: 1 addition & 0 deletions iothub/device/src/ClientFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ private static IDeviceClientPipelineBuilder BuildPipeline()
{
var transporthandlerFactory = new TransportHandlerFactory();
IDeviceClientPipelineBuilder pipelineBuilder = new DeviceClientPipelineBuilder()
.With((ctx, innerHandler) => new DefaultDelegatingHandler(ctx, innerHandler))
.With((ctx, innerHandler) => new RetryDelegatingHandler(ctx, innerHandler))
.With((ctx, innerHandler) => new ErrorDelegatingHandler(ctx, innerHandler))
.With((ctx, innerHandler) => new ProtocolRoutingDelegatingHandler(ctx, innerHandler))
Expand Down
Loading

0 comments on commit 2a70b99

Please sign in to comment.