November Happy Hour will be moved to Thursday December 5th.

Class ConflictingResourceException

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

Inheritance
System.Object
ConflictingResourceException
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class ConflictingResourceException : InvalidOperationException

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

Extension Methods