Show / Hide Table of Contents

Class RepositoryConflict

Provides information about a repository conflict, which occurs when an item that was already present in the repository was attempted to be registered.

Inheritance
object
RepositoryError
RepositoryConflict
Inherited Members
RepositoryError.ErrorCode
RepositoryError.Message
RepositoryError.Identifiers
RepositoryError.HttpStatusCode
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Algenta.Colectica.Model.Repository
Assembly: Algenta.Colectica.Model.dll
Syntax
[Serializable]
[DataContract(Namespace = "http://ns.colectica.com/2009/07/")]
public class RepositoryConflict : RepositoryError

Constructors

RepositoryConflict()

Initializes a new instance of the RepositoryConflict class.

Declaration
public RepositoryConflict()

RepositoryConflict(string, string)

Initializes a new instance of the RepositoryConflict class.

Declaration
public RepositoryConflict(string errorCode, string message)
Parameters
Type Name Description
string errorCode

The error code.

string message

The message.

RepositoryConflict(string, string, IdentifierTriple)

Initializes a new instance of the RepositoryConflict class.

Declaration
public RepositoryConflict(string errorCode, string message, IdentifierTriple compositeId)
Parameters
Type Name Description
string errorCode

The error code.

string message

The message.

IdentifierTriple compositeId

The identifier of the conflicted item.

Properties

AgencyId

Gets or sets the agency identifier of the conflicted item.

Declaration
[DataMember]
public string AgencyId { get; set; }
Property Value
Type Description
string

CompositeId

Gets or sets the composite identifier of the conflicted item.

Declaration
public IdentifierTriple CompositeId { get; set; }
Property Value
Type Description
IdentifierTriple

Identifier

Gets or sets the identifier of the conflicted item.

Declaration
[DataMember]
public Guid Identifier { get; set; }
Property Value
Type Description
Guid

Version

Gets or sets the version number of the conflicted item.

Declaration
[DataMember]
public long Version { get; set; }
Property Value
Type Description
long

Extension Methods

Extensions.Yield<T>(T)
In this article
Back to top Generated by DocFX