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: 20.0.0.0 (20.1.1.1)
Since: 2014
 Syntax
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
Inheritance Hierarchy
System..::..Object
System..::..Exception
Autodesk.Revit.Exceptions..::..ApplicationException
Autodesk.Revit.Exceptions..::..InvalidOperationException
Autodesk.Revit.Exceptions..::..CannotOpenBothCentralAndLocalException
System..::..Exception
Autodesk.Revit.Exceptions..::..ApplicationException
Autodesk.Revit.Exceptions..::..InvalidOperationException
Autodesk.Revit.Exceptions..::..CannotOpenBothCentralAndLocalException