The exception that is thrown when trying to access an unregistered OAuth client.
Inheritance Hierarchy
System Exception
Nemiro.OAuth ClientIsNotRegisteredException
Namespace: Nemiro.OAuth
Assembly: Nemiro.OAuth (in Nemiro.OAuth.dll) Version: 1.9.4.725 (1.9.4.725)
Syntax
The ClientIsNotRegisteredException type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ClientIsNotRegisteredException |
Initializes a new instance of the ClientIsNotRegisteredException class.
|
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetBaseException | (Inherited from Exception.) | |
| GetHashCode | (Inherited from Object.) | |
| GetObjectData | (Inherited from Exception.) | |
| GetType | (Inherited from Exception.) | |
| MemberwiseClone | (Inherited from Object.) | |
| ToString | (Inherited from Exception.) |
Properties
| Name | Description | |
|---|---|---|
| Data | (Inherited from Exception.) | |
| HelpLink | (Inherited from Exception.) | |
| HResult | (Inherited from Exception.) | |
| InnerException | (Inherited from Exception.) | |
| Message | (Inherited from Exception.) | |
| Source | (Inherited from Exception.) | |
| StackTrace | (Inherited from Exception.) | |
| TargetSite | (Inherited from Exception.) |
Events
| Name | Description | |
|---|---|---|
| SerializeObjectState | (Inherited from Exception.) |
Remarks
Use the RegisterClient(OAuthBase) for OAuth clients registration.
Examples
The following example illustrates a situation in which the ClientIsNotRegisteredException is thrown.

To solve the problem enough to register the client.
// facebook client registration OAuthManager.RegisterClient ( new FacebookClient ( "1435890426686808", "c6057dfae399beee9e8dc46a4182e8fd" ) );
Enjoy!
See Also