Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Class ConflictingResourceException

Exception class thrown when trying to create or save an item and a conflicting resource already exist.

Inheritance
System.Object
System.Exception
System.SystemException
System.InvalidOperationException
ConflictingResourceException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class ConflictingResourceException : InvalidOperationException, ISerializable, _Exception

Constructors

ConflictingResourceException()

Initializes a new instance of the ConflictingResourceException class.

Declaration
public ConflictingResourceException()

ConflictingResourceException(SerializationInfo, StreamingContext)

Initializes a new instance of the ConflictingResourceException class with serialized data.

Declaration
protected ConflictingResourceException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info
System.Runtime.Serialization.StreamingContext context

ConflictingResourceException(String)

Initializes a new instance of the ConflictingResourceException class with a specified error message.

Declaration
public ConflictingResourceException(string message)
Parameters
Type Name Description
System.String message

The message that describes the error

ConflictingResourceException(String, Object)

Initializes a new instance of the ConflictingResourceException class with an indication of a specific member that caused the conflict.

Declaration
public ConflictingResourceException(string member, object value)
Parameters
Type Name Description
System.String member

The name of the member that caused the conflict.

System.Object value

The value of the member that caused the conflict.

ConflictingResourceException(String, Object, String)

Initializes a new instance of the ConflictingResourceException class with an indication of a specific member that caused the conflict and a specified error message.

Declaration
public ConflictingResourceException(string member, object value, string message)
Parameters
Type Name Description
System.String member

The name of the member that caused the conflict.

System.Object value

The value of the member that caused the conflict.

System.String message

The message that describes the error

Properties

Member

Gets the name of the Member that caused the conflict.

Declaration
public string Member { get; }
Property Value
Type Description
System.String

Value

Gets the value of the Member that caused the conflict.

Declaration
public object Value { get; }
Property Value
Type Description
System.Object

Implements

System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception

Extension Methods