Partager via


ObjectNotFoundException(EntityReference) Constructor

Definition

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

public:
 ObjectNotFoundException(Microsoft::Xrm::Sdk::EntityReference ^ entityReference);
public ObjectNotFoundException (Microsoft.Xrm.Sdk.EntityReference entityReference);
new Microsoft.Xrm.Sdk.Data.Exceptions.ObjectNotFoundException : Microsoft.Xrm.Sdk.EntityReference -> Microsoft.Xrm.Sdk.Data.Exceptions.ObjectNotFoundException
Public Sub New (entityReference As EntityReference)

Parameters

entityReference
EntityReference

The EntityReference that identifies the record.

Applies to