Error Class
Represents a data contracts error message.
Inheritance Hierarchy
System.Object
Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
Microsoft.MasterDataServices.Services.DataContracts.Error
Namespace: Microsoft.MasterDataServices.Services.DataContracts
Assembly: Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)
Syntax
'Declaration
<DataContractAttribute(Name := "Error", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public Class Error _
Inherits DataContractBase
'Usage
Dim instance As Error
[DataContractAttribute(Name = "Error", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public class Error : DataContractBase
[DataContractAttribute(Name = L"Error", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public ref class Error : public DataContractBase
[<DataContractAttribute(Name = "Error", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type Error =
class
inherit DataContractBase
end
public class Error extends DataContractBase
The Error type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Error() | Initializes a new instance of the Error class with default values. | |
Error(String, String) | Initializes a new instance of the Error class with the specified code and description values. | |
Error(String, String, ErrorContext) | Initializes a new instance of the Error class with the specified code, description, and error context values. |
Top
Properties
Name | Description | |
---|---|---|
Code | Gets or sets the error code. | |
Context | Gets or sets the object context of the error, if applicable. | |
Description | Gets or sets the text describing the error. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
SetProperty<T> | Infrastructure. Sets the property using the specified values. (Inherited from DataContractBase.) | |
ToString | Generates a string representation of the error. (Overrides Object.ToString().) |
Top
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
Reference
Microsoft.MasterDataServices.Services.DataContracts Namespace