Share via


BaseServiceFault Class

 

Applies To: Dynamics CRM 2015

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(OrganizationServiceFault))]
[KnownTypeAttribute(typeof(ExecuteTransactionFault))]
[KnownTypeAttribute(typeof(DiscoveryServiceFault))]
public abstract class BaseServiceFault : IExtensibleDataObject
[SerializableAttribute]
[DataContractAttribute(Name = "BaseServiceFault", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")]
[KnownTypeAttribute((OrganizationServiceFault^::typeid))]
[KnownTypeAttribute((ExecuteTransactionFault^::typeid))]
[KnownTypeAttribute((DiscoveryServiceFault^::typeid))]
public ref class BaseServiceFault abstract : IExtensibleDataObject
[<AbstractClass>]
[<SerializableAttribute>]
[<DataContractAttribute(Name = "BaseServiceFault", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")>]
[<KnownTypeAttribute(typeof(OrganizationServiceFault))>]
[<KnownTypeAttribute(typeof(ExecuteTransactionFault))>]
[<KnownTypeAttribute(typeof(DiscoveryServiceFault))>]
type BaseServiceFault = 
    class
        interface IExtensibleDataObject
    end
<SerializableAttribute>
<DataContractAttribute(Name := "BaseServiceFault", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts")>
<KnownTypeAttribute(GetType(OrganizationServiceFault))>
<KnownTypeAttribute(GetType(ExecuteTransactionFault))>
<KnownTypeAttribute(GetType(DiscoveryServiceFault))>
Public MustInherit Class BaseServiceFault
    Implements IExtensibleDataObject

Constructors

Name Description
System_CAPS_protmethod BaseServiceFault()

Initializes a new instance of the BaseServiceFault class.

Properties

Name Description
System_CAPS_pubproperty ErrorCode

Gets or sets the fault error code.

System_CAPS_pubproperty ErrorDetails

Gets or sets the details of the fault.

System_CAPS_pubproperty ExtensionData

Gets or sets a structure that contains extra data.

System_CAPS_pubproperty Message

Gets or sets the message for the fault.

System_CAPS_pubproperty Timestamp

Gets or sets the date and time when the fault occurred.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(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

Return to top

© 2016 Microsoft. All rights reserved. Copyright