Freigeben über


OrganizationServiceProxy.Create Methode

Creates a record.

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

Syntax

'Declaration
Public Function Create ( _
    entity As Entity _
) As Guid
public Guid Create (
    Entity entity
)

Parameter

  • entity
    Type: Entity. An entity instance that contains the properties to set in the newly created record.

Rückgabewert

Type: GUID
The ID of the created entity.

Anmerkungen

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

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.