-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add code examples for public APIs in IotHubDeviceClient, IotHubModuleClient, IotHubBaseClient and retry policies #3308
Conversation
…Client and IotHubBaseClient
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/// <code language="csharp"> | ||
/// await using var client = await IotHubModuleClient.CreateFromEnvironmentAsync(new IotHubClientOptions(new IotHubClientMqttSettings(IotHubClientTransportProtocol.WebSocket))); | ||
/// </code> | ||
/// </example> | ||
public static async Task<IotHubModuleClient> CreateFromEnvironmentAsync(IotHubClientOptions options = default) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason why we don't have a cancellation token in this async method?
Not for your PR, Bryce, but maybe we should add a task to add one here.
iothub/device/src/RetryPolicies/IotHubClientExponentialBackoffRetryPolicy.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I may not be able to see the changes that come out of this, but I feel it is low risk as it is just doc comments. I'm signing off optimistically to help you finish it without me bottlenecking ya. :)
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
No description provided.