ObjectNotFoundException(EntityReference) Constructor
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.
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.