DomainServiceFault.GetValidationErrors 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.]
Retrieves the validation errors.
Namespace: System.ServiceModel.DomainServices.Client
Assembly: System.ServiceModel.DomainServices.Client.Web (in System.ServiceModel.DomainServices.Client.Web.dll)
Syntax
'Declaration
Public Function GetValidationErrors As IEnumerable(Of ValidationResult)
'Usage
Dim instance As DomainServiceFault
Dim returnValue As IEnumerable(Of ValidationResult)
returnValue = instance.GetValidationErrors()
public IEnumerable<ValidationResult> GetValidationErrors()
public:
IEnumerable<ValidationResult^>^ GetValidationErrors()
member GetValidationErrors : unit -> IEnumerable<ValidationResult>
public function GetValidationErrors() : IEnumerable<ValidationResult>
Return Value
Type: System.Collections.Generic.IEnumerable<ValidationResult>
A collection of validation errors.