ObjectNotFoundException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The exception that is thrown when a record does not exist.
public ref class ObjectNotFoundException sealed : Microsoft::Xrm::Sdk::SdkExceptionBase
[System.Serializable]
public sealed class ObjectNotFoundException : Microsoft.Xrm.Sdk.SdkExceptionBase
[<System.Serializable>]
type ObjectNotFoundException = class
inherit SdkExceptionBase
Public NotInheritable Class ObjectNotFoundException
Inherits SdkExceptionBase
- Inheritance
-
ObjectNotFoundException
- Attributes
Remarks
For example, this exception should be thrown when the Retrieve SDK message specifies an EntityReference that does not exist in the data store.
Constructors
ObjectNotFoundException(EntityReference) |
Initializes a new instance of the ObjectNotFoundException class with the specified entity reference. |
Fields
ObjectDoesNotExistErrorCode |