BaseServiceFault Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Represents a service fault.
Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Inheritance Hierarchy
System.Object
Microsoft.Xrm.Sdk.BaseServiceFault
Microsoft.Xrm.Sdk.DiscoveryServiceFault
Microsoft.Xrm.Sdk.OrganizationServiceFault
Syntax
[SerializableAttribute]
[DataContractAttribute(Name = "BaseServiceFault", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")]
[KnownTypeAttribute(typeof(DiscoveryServiceFault))]
[KnownTypeAttribute(typeof(OrganizationServiceFault))]
[KnownTypeAttribute(typeof(ExecuteTransactionFault))]
public abstract class BaseServiceFault : IExtensibleDataObject
<SerializableAttribute>
<DataContractAttribute(Name := "BaseServiceFault", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts")>
<KnownTypeAttribute(GetType(DiscoveryServiceFault))>
<KnownTypeAttribute(GetType(OrganizationServiceFault))>
<KnownTypeAttribute(GetType(ExecuteTransactionFault))>
Public MustInherit Class BaseServiceFault
Implements IExtensibleDataObject
Constructors
Name | Description | |
---|---|---|
BaseServiceFault() | Initializes a new instance of the BaseServiceFault class. |
Properties
Name | Description | |
---|---|---|
ActivityId | ||
ErrorCode | Gets or sets the fault error code. |
|
ErrorDetails | Gets or sets the details of the fault. |
|
ExtensionData | Gets or sets a structure that contains extra data. |
|
Message | Gets or sets the message for the fault. |
|
Timestamp | Gets or sets the date and time when the fault occurred. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
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
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright