BindingBase.CheckSealed Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Throws an exception if the binding has already been attached to a binding target.
Namespace: System.Windows.Data
Assembly: System.Windows (in System.Windows.dll)
Syntax
Protected Friend Sub CheckSealed
protected internal void CheckSealed()
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The binding has already been attached to a binding target. |
Remarks
Call this method in the setters of properties that you add to derived classes when the properties should not be modified after binding occurs.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1
Platforms
Windows Phone