[This is preliminary documentation and is subject to change.]
Deletes the entity.
Namespace:
CWR.MSCRM.Mobile.Client.BLAssembly: CWR.MSCRM.Mobile.Client.BL (in CWR.MSCRM.Mobile.Client.BL.dll)
Version: 4.0.0.7
Syntax
| C# |
|---|
public virtual void DeleteEntity( Guid entityId, ExecutionOptions executionOptions ) |
| Visual Basic (Declaration) |
|---|
Public Overridable Sub DeleteEntity ( _ entityId As Guid, _ executionOptions As ExecutionOptions _ ) |
Parameters
- entityId
- Type: System..::.Guid
The id of the entity to delete.
- executionOptions
- Type: CWR.MSCRM.Mobile.Client.Helpers..::.ExecutionOptions
ExecutionOptions object containing the options on how to execute this method.
Exceptions
| Exception | Condition |
|---|---|
| CWR.MSCRM.Mobile.Client.Helpers.Exceptions..::.CalloutException | Throws a CalloutException when the PreDelete(CalloutEntityContext, String%) callout returns Abort. |
| CWR.MSCRM.Mobile.Client.Helpers.Exceptions..::.SyncException | Throws a SyncException when the server throws a SoapException or an unexpected exception during the execution of the Delete request. |
