ValidationResultInfo.ErrorCode Property
[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.]
Gets or sets the custom error code.
Namespace: System.ServiceModel.DomainServices.Server
Assembly: System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)
Syntax
'Declaration
<DataMemberAttribute(EmitDefaultValue := False)> _
Public Property ErrorCode As Integer
Get
Set
'Usage
Dim instance As ValidationResultInfo
Dim value As Integer
value = instance.ErrorCode
instance.ErrorCode = value
[DataMemberAttribute(EmitDefaultValue = false)]
public int ErrorCode { get; set; }
[DataMemberAttribute(EmitDefaultValue = false)]
public:
property int ErrorCode {
int get ();
void set (int value);
}
[<DataMemberAttribute(EmitDefaultValue = false)>]
member ErrorCode : int with get, set
function get ErrorCode () : int
function set ErrorCode (value : int)
Property Value
Type: System.Int32
The custom error code.