SaaS CMS has officially launched! Learn more now.

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
CannotMoveProviderException
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class CannotMoveProviderException : EPiServerException

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.

Extension Methods