Skip to content
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

Automatically reload the session if necessary #56

Merged
merged 2 commits into from
Jun 20, 2018
Merged

Conversation

jeffkl
Copy link
Owner

@jeffkl jeffkl commented Jun 20, 2018

  • Modify DismSession to be reloadable
  • Remove DismReloadImageSessionRequiredException

This lets callers keep the syntax:

using(DismSession = DismApi.OpenOnlineSession())
{
  ...
}

If an operation requires a reload, an exception is no longer thrown and instead the session is reloaded.

Remove DismReloadImageSessionRequiredException

This lets callers keep the syntax:

```cs
using(DismSession = DismApi.OpenOnlineSession())
{
  ...
}
```

If an operation requires a reload, an exception is no longer throw and instead the session is reloaded.
@jeffkl jeffkl merged commit 7ca682a into master Jun 20, 2018
@jeffkl jeffkl deleted the auto-reload-session branch June 20, 2018 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant