共用方式為


SPUpdatedConcurrencyException class

代表在Microsoft SharePoint Foundation ,會修改相同的物件的多部前端網頁伺服器上執行的程式碼或伺服器混用物件模型程式碼,從不同版本的產品,現稱為Microsoft SharePoint Foundation,修改相同的物件時發生例外狀況。

Inheritance hierarchy

System.Object
  System.Exception
    Microsoft.SharePoint.Administration.SPDatabaseException
      Microsoft.SharePoint.Administration.SPConcurrencyException
        Microsoft.SharePoint.Administration.SPUpdatedConcurrencyException

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPUpdatedConcurrencyException _
    Inherits SPConcurrencyException
'用途
Dim instance As SPUpdatedConcurrencyException
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPUpdatedConcurrencyException : SPConcurrencyException

備註

即會發生SPUpdatedConcurrencyException ,例如,在設定資料庫由不同的使用者更新後,在這種情況中您可能需要決定是否所做的變更衝突,然後解決任何差異,並重新套用第二個變更。此例外狀況可能也會指出所取得的單一往來書信時的相同物件的兩份造成程式設計錯誤。

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

請參閱

參照

SPUpdatedConcurrencyException members

Microsoft.SharePoint.Administration namespace