Class ConflictingResourceException
Exception class thrown when trying to create or save an item and a conflicting resource already exist.
Inheritance
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class ConflictingResourceException : InvalidOperationException
Constructors
ConflictingResourceException()
Initializes a new instance of the Conflicting
Declaration
public ConflictingResourceException()
ConflictingResourceException(SerializationInfo, StreamingContext)
Initializes a new instance of the Conflicting
Declaration
protected ConflictingResourceException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System. |
info | |
System. |
context |
ConflictingResourceException(String)
Initializes a new instance of the Conflicting
Declaration
public ConflictingResourceException(string message)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | The message that describes the error |
ConflictingResourceException(String, Object)
Initializes a new instance of the Conflicting
Declaration
public ConflictingResourceException(string member, object value)
Parameters
Type | Name | Description |
---|---|---|
System. |
member | The name of the member that caused the conflict. |
System. |
value | The value of the member that caused the conflict. |
ConflictingResourceException(String, Object, String)
Initializes a new instance of the Conflicting
Declaration
public ConflictingResourceException(string member, object value, string message)
Parameters
Type | Name | Description |
---|---|---|
System. |
member | The name of the member that caused the conflict. |
System. |
value | The value of the member that caused the conflict. |
System. |
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. |
Value
Gets the value of the Member that caused the conflict.
Declaration
public object Value { get; }
Property Value
Type | Description |
---|---|
System. |