-
Notifications
You must be signed in to change notification settings - Fork 459
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop messages when device is not in scope and auth mode is Scope (#4540)
* Integrate src code * Add scope validation in brokered cloud conn provider
- Loading branch information
1 parent
90e4e87
commit 51ad827
Showing
34 changed files
with
1,577 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
edge-hub/core/src/Microsoft.Azure.Devices.Edge.Hub.Core/DeviceInvalidStateException.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright (c) Microsoft. All rights reserved. | ||
namespace Microsoft.Azure.Devices.Edge.Hub.Core | ||
{ | ||
using System; | ||
|
||
public class DeviceInvalidStateException : Exception | ||
{ | ||
public DeviceInvalidStateException() | ||
{ | ||
} | ||
|
||
public DeviceInvalidStateException(string message) | ||
: base(message) | ||
{ | ||
} | ||
|
||
public DeviceInvalidStateException(string message, Exception innerException) | ||
: base(message, innerException) | ||
{ | ||
} | ||
} | ||
} |
Oops, something went wrong.