Condividi tramite


ExecuteTransactionFault Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Represents a fault that occurs when a message request fails execution during a single database transaction.

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

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Sdk.BaseServiceFault
    Microsoft.Xrm.Sdk.OrganizationServiceFault
      Microsoft.Xrm.Sdk.ExecuteTransactionFault

Syntax

[SerializableAttribute]
[DataContractAttribute(Name = "ExecuteTransactionFault", Namespace = "https://schemas.microsoft.com/xrm/7.1/Contracts")]
public sealed class ExecuteTransactionFault : OrganizationServiceFault
<SerializableAttribute>
<DataContractAttribute(Name := "ExecuteTransactionFault", Namespace := "https://schemas.microsoft.com/xrm/7.1/Contracts")>
Public NotInheritable Class ExecuteTransactionFault
    Inherits OrganizationServiceFault

Constructors

Name Description
System_CAPS_pubmethod ExecuteTransactionFault()

Initializes a new instance of theExecuteTransactionFault class.

Properties

Name Description
System_CAPS_pubproperty ActivityId

(Inherited from BaseServiceFault.)

System_CAPS_pubproperty ErrorCode

Gets or sets the fault error code.(Inherited from BaseServiceFault.)

System_CAPS_pubproperty ErrorDetails

Gets or sets the details of the fault.(Inherited from BaseServiceFault.)

System_CAPS_pubproperty ExtensionData

Gets or sets a structure that contains extra data.(Inherited from BaseServiceFault.)

System_CAPS_pubproperty FaultedRequestIndex

System_CAPS_pubproperty InnerFault

Gets the fault instance that caused the current fault.(Inherited from OrganizationServiceFault.)

System_CAPS_pubproperty Message

Gets or sets the message for the fault.(Inherited from BaseServiceFault.)

System_CAPS_pubproperty Timestamp

Gets or sets the date and time when the fault occurred.(Inherited from BaseServiceFault.)

System_CAPS_pubproperty TraceText

Gets the text of the fault trace.(Inherited from OrganizationServiceFault.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Xrm.Sdk Namespace
Execute messages in a single database transaction

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright