OrganizationWebProxyClient.Delete(String, Guid) Method

Definition

Deletes a record.

public:
 virtual void Delete(System::String ^ entityName, Guid id);
public void Delete (string entityName, Guid id);
abstract member Delete : string * Guid -> unit
override this.Delete : string * Guid -> unit
Public Sub Delete (entityName As String, id As Guid)

Parameters

entityName
String

The logical name of the entity specified in the entityId parameter.

id
Guid

The ID of the record of the record to delete.

Implements

Remarks

The core implementation of the Delete method. For more information, see IOrganizationService.Delete(String, Guid).

For more information about the exceptions that can be thrown when calling OrganizationServiceProxy methods, see Handle exceptions in your code.

Applies to