Freigeben über


OrganizationServiceProxy.Delete Methode

Deletes a record.

Namespace: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

'Declaration
Public Sub Delete ( _
    entityName As String, _
    id As Guid _
)
public void Delete (
    string entityName,
    Guid id
)

Parameter

  • entityName
    Type: Zeichenfolge. The logical name of the entity specified in the entityId parameter.
  • id
    Type: GUID. The ID of the record of the record to delete.

Anmerkungen

The core implementation of the Delete method. For more information, see IOrganizationService.Delete.

For more information about the exceptions that can be thrown when calling OrganizationServiceProxy methods, see Handle Exceptions in Your Code.

Thread-Sicherheit

Alle öffentlichen statischen Mitglieder (Shared in Visual Basic) dieses Typs sind thread-sicher. Bei Instanzmitgliedern kann keine Garantie für die Thread-Sicherheit übernommen werden.

Plattformen

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Siehe auch

Referenz

OrganizationServiceProxy Klasse
OrganizationServiceProxy Mitglieder
Microsoft.Xrm.Sdk.Client Namespace

Weitere Ressourcen

Troubleshooting and Error Handling
Read and Write Data and Metadata using the IOrganizationService Web Service

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.