CrmServiceClient.CreateNewActivityEntry Kaedah

Creates a new activity against the target entity type

Ruang nama: Microsoft.Xrm.Tooling.Connector
Perhimpunan: Microsoft.Xrm.Tooling.Connector (dalam Microsoft.Xrm.Tooling.Connector.dll)

public Guid CreateNewActivityEntry (
	string activityEntityTypeName,
	string regardingEntityTypeName,
	Guid regardingId,
	string subject,
	string description,
	string creatingUserId,
	[OptionalAttribute] Dictionary<string,CrmDataTypeWrapper> fieldList,
	[OptionalAttribute] Guid batchId
)

Parameter

activityEntityTypeName

Type of Activity you would like to create

regardingEntityTypeName

Entity type of the Entity you want to associate with.

subject

Subject Line of the Activity

description

Description Text of the Activity

regardingId

ID of the Entity to associate the Activity too

creatingUserId

User ID that Created the Activity *Calling user must have necessary permissions to assign to another user

fieldList

Additional fields to add as part of the activity creation

batchId

Optional: if set to a valid GUID, generated by the Create Batch Request Method, will assigned the request to the batch for later execution, on fail, runs the request immediately

Nilai Pulangan

Guid of Activity ID or Guid.empty

Sebarang ahli statik awam (Shared dalam Visual Basic) jenis ini adalah selamat rentetan. Dalam apa jua keadaan, ahli tidak dijamin selamat rentetan.

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 98,Windows 2000,Pelayan Windows 2000,Windows CE,Windows Server 2008,Windows 98 Edisi Kedua,Pocket PC,Telefon Pintar,Windows Server 2003,Windows XP Professional,Windows Server 2008,Windows Server 2012,Windows 7,Windows 8,Windows 8.1

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