CannotOpenBothCentralAndLocalException Class
The exception thrown when both a central model and also a local file for the same central model are opened in the same session.

Namespace: Autodesk.Revit.Exceptions
Assembly: RevitAPI (in RevitAPI.dll) Version: 19.0.0.0 (19.0.0.405)
Since: 2014

Syntax

C#
[SerializableAttribute]
public class CannotOpenBothCentralAndLocalException : InvalidOperationException
Visual Basic
<SerializableAttribute> _
Public Class CannotOpenBothCentralAndLocalException _
	Inherits InvalidOperationException
Visual C++
[SerializableAttribute]
public ref class CannotOpenBothCentralAndLocalException : public InvalidOperationException

Inheritance Hierarchy

System..::..Object
  System..::..Exception
    Autodesk.Revit.Exceptions..::..ApplicationException
      Autodesk.Revit.Exceptions..::..InvalidOperationException
        Autodesk.Revit.Exceptions..::..CannotOpenBothCentralAndLocalException

See Also