DomainService.ValidateChangeSet Method
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Validates the whole ChangeSet before calling ExecuteChangeSet.
Namespace: System.ServiceModel.DomainServices.Server
Assembly: System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)
Syntax
'Declaration
Protected Overridable Function ValidateChangeSet As Boolean
'Usage
Dim returnValue As Boolean
returnValue = Me.ValidateChangeSet()
protected virtual bool ValidateChangeSet()
protected:
virtual bool ValidateChangeSet()
abstract ValidateChangeSet : unit -> bool
override ValidateChangeSet : unit -> bool
protected function ValidateChangeSet() : boolean
Return Value
Type: System.Boolean
true if all operations in the ChangeSet passed validation; otherwise, false.
Remarks
Any errors are set on the individual ChangeSetEntry instances in the ChangeSet.