Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / Tools / System.Activities.Presentation / System / Activities / Presentation / Validation / ValidationErrorInfo.cs / 1305376 / ValidationErrorInfo.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.Activities.Presentation.Validation { using System; using System.Collections.Generic; using System.Text; using System.Activities.Validation; using System.Runtime; [Serializable] [Fx.Tag.XamlVisible(false)] public class ValidationErrorInfo { public ValidationErrorInfo(string message) { // Used to initialize violations that correspond // to exceptions triggered during validation. this.Message = message; this.PropertyName = string.Empty; this.FileName = string.Empty; this.IsWarning = false; } public ValidationErrorInfo(ValidationError validationError) { this.Id = validationError.Id; this.Message = validationError.Message; this.PropertyName = validationError.PropertyName; this.FileName = string.Empty; this.IsWarning = validationError.IsWarning; } public string Id { get; private set; } public string Message { get; private set; } public string PropertyName { get; private set; } public string FileName { get; set; } public bool IsWarning { get; private set; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ConstructorExpr.cs
- IxmlLineInfo.cs
- CodeGenerationManager.cs
- ScriptManager.cs
- Debugger.cs
- ObjectItemAssemblyLoader.cs
- EntityWithChangeTrackerStrategy.cs
- MediaPlayerState.cs
- SecurityDescriptor.cs
- AdapterDictionary.cs
- StrokeCollection2.cs
- SingleSelectRootGridEntry.cs
- MessageContractMemberAttribute.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- ImageDrawing.cs
- RandomNumberGenerator.cs
- RegistrySecurity.cs
- controlskin.cs
- DocumentXPathNavigator.cs
- Transform.cs
- Geometry3D.cs
- EnterpriseServicesHelper.cs
- GridViewRowEventArgs.cs
- Stylesheet.cs
- CodeSnippetTypeMember.cs
- ScriptReference.cs
- ProtocolReflector.cs
- NullRuntimeConfig.cs
- BitmapMetadataBlob.cs
- DataGridCellsPanel.cs
- UnsafeNativeMethods.cs
- ProfileInfo.cs
- Exceptions.cs
- Pair.cs
- SafeNativeMethods.cs
- ThrowOnMultipleAssignment.cs
- LineServicesCallbacks.cs
- AuthenticationServiceManager.cs
- AnimatedTypeHelpers.cs
- PersonalizationDictionary.cs
- TemplateApplicationHelper.cs
- DbParameterCollectionHelper.cs
- PointConverter.cs
- SrgsDocumentParser.cs
- Camera.cs
- StreamAsIStream.cs
- SrgsGrammarCompiler.cs
- Table.cs
- HandlerMappingMemo.cs
- PointF.cs
- Base64Decoder.cs
- DataViewSettingCollection.cs
- AnnotationResourceChangedEventArgs.cs
- RecipientInfo.cs
- ImageConverter.cs
- TextCompositionEventArgs.cs
- SafeLocalMemHandle.cs
- DataListItemEventArgs.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- ControlIdConverter.cs
- ButtonStandardAdapter.cs
- XmlAttribute.cs
- FixedSOMLineCollection.cs
- Currency.cs
- DataViewManager.cs
- MeshGeometry3D.cs
- UITypeEditor.cs
- SHA512Managed.cs
- XmlAttributes.cs
- HwndSource.cs
- Int32Rect.cs
- TriggerAction.cs
- BindingSource.cs
- XmlILCommand.cs
- QilChoice.cs
- EntityDataSourceStatementEditorForm.cs
- TextRenderer.cs
- AttributeCollection.cs
- SystemIcons.cs
- SerializerDescriptor.cs
- XmlCollation.cs
- SharedPerformanceCounter.cs
- JsonMessageEncoderFactory.cs
- _NegoStream.cs
- WindowsRichEdit.cs
- NonVisualControlAttribute.cs
- WebPartDescriptionCollection.cs
- ReadWriteSpinLock.cs
- WindowsFormsHelpers.cs
- Menu.cs
- DataGridViewIntLinkedList.cs
- WebBrowserProgressChangedEventHandler.cs
- ClientScriptManagerWrapper.cs
- FileAuthorizationModule.cs
- CollectionDataContractAttribute.cs
- RegexMatch.cs
- ListSortDescriptionCollection.cs
- TypeContext.cs
- XmlSchemaAttribute.cs
- WebPartZoneCollection.cs