Try our conversational search powered by Generative AI!

Class CannotMoveProviderException

Thrown when this page or some of it's descendants is parent to a content provider and it can't be deleted.

Inheritance
System.Object
System.Exception
CannotMoveProviderException
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.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.Core
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class CannotMoveProviderException : EPiServerException, ISerializable, _Exception

Constructors

CannotMoveProviderException()

Initializes a new instance of the CannotMoveProviderException class.

Declaration
public CannotMoveProviderException()

CannotMoveProviderException(SerializationInfo, StreamingContext)

Initializes a new instance of the CannotMoveProviderException class.

Declaration
protected CannotMoveProviderException(SerializationInfo serializationInfo, StreamingContext streamingContext)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo serializationInfo

The serialization info.

System.Runtime.Serialization.StreamingContext streamingContext

The streaming context.

CannotMoveProviderException(String)

Initializes a new instance of the CannotMoveProviderException class.

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

Error message

CannotMoveProviderException(String, Exception)

Initializes a new instance of the CannotMoveProviderException class.

Declaration
public CannotMoveProviderException(string message, Exception exception)
Parameters
Type Name Description
System.String message

The message.

System.Exception exception

The exception.

Implements

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

Extension Methods