ObjectNotFoundException ObjectNotFoundException ObjectNotFoundException ObjectNotFoundException Class

Definition

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
type ObjectNotFoundException = class
    inherit SdkExceptionBase
Public NotInheritable Class ObjectNotFoundException
Inherits SdkExceptionBase
Inheritance
ObjectNotFoundExceptionObjectNotFoundExceptionObjectNotFoundExceptionObjectNotFoundException
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) ObjectNotFoundException(EntityReference) ObjectNotFoundException(EntityReference) ObjectNotFoundException(EntityReference)

Initializes a new instance of the ObjectNotFoundException class with the specified entity reference.

Applies to