Class ConflictingResourceException
Exception class thrown when trying to create or save an item and a conflicting resource already exist.
Inheritance
Implements
Inherited Members
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 11.20.7Syntax
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 |