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
- CompositeScriptReference.cs
- HostingEnvironment.cs
- MissingManifestResourceException.cs
- DBDataPermissionAttribute.cs
- ReadOnlyDataSourceView.cs
- HttpListenerContext.cs
- StateBag.cs
- RegistryKey.cs
- MethodBuilderInstantiation.cs
- StringReader.cs
- ServiceDiscoveryElement.cs
- HttpClientCertificate.cs
- TextEndOfParagraph.cs
- TimeSpanStorage.cs
- Size3DValueSerializer.cs
- SourceLocation.cs
- PerformanceCounterCategory.cs
- JournalEntryListConverter.cs
- OdbcConnectionOpen.cs
- ColumnPropertiesGroup.cs
- SafeMemoryMappedViewHandle.cs
- IntPtr.cs
- LabelDesigner.cs
- InternalDispatchObject.cs
- CompositeFontParser.cs
- FlowDocumentReaderAutomationPeer.cs
- _ShellExpression.cs
- CqlGenerator.cs
- HwndSource.cs
- _LocalDataStore.cs
- CfgParser.cs
- TrackingCondition.cs
- CatalogPartChrome.cs
- Rect.cs
- InfoCardConstants.cs
- MessageFilter.cs
- DES.cs
- ExceptionUtility.cs
- MatrixStack.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- MsmqHostedTransportConfiguration.cs
- SetStoryboardSpeedRatio.cs
- EnumValidator.cs
- DropShadowEffect.cs
- AddingNewEventArgs.cs
- GroupBox.cs
- TransactionCache.cs
- DbDeleteCommandTree.cs
- ListItemConverter.cs
- FlagsAttribute.cs
- ToolStripItemImageRenderEventArgs.cs
- HierarchicalDataBoundControl.cs
- DrawingGroup.cs
- TextTreeTextElementNode.cs
- LayoutSettings.cs
- Currency.cs
- SolidBrush.cs
- HMACSHA256.cs
- MonitoringDescriptionAttribute.cs
- QilFunction.cs
- CatalogPartCollection.cs
- EtwTrace.cs
- RuleProcessor.cs
- CacheMemory.cs
- IdentityModelDictionary.cs
- WebSysDefaultValueAttribute.cs
- QuaternionAnimationBase.cs
- XmlSchemaDatatype.cs
- CodeExpressionStatement.cs
- MappedMetaModel.cs
- DataColumnChangeEvent.cs
- IsolatedStorageException.cs
- CustomBindingCollectionElement.cs
- ProfileSection.cs
- Int32CollectionValueSerializer.cs
- SystemBrushes.cs
- TimeIntervalCollection.cs
- ExtendedProtectionPolicy.cs
- CoreSwitches.cs
- ExpressionBuilder.cs
- PropertyGridEditorPart.cs
- _CommandStream.cs
- UnitySerializationHolder.cs
- ProxyWebPartManagerDesigner.cs
- SoapHeaderAttribute.cs
- HttpCapabilitiesSectionHandler.cs
- Graph.cs
- BooleanFunctions.cs
- InstanceNormalEvent.cs
- CompModSwitches.cs
- ListViewCancelEventArgs.cs
- TypedReference.cs
- infer.cs
- ParserStreamGeometryContext.cs
- PrintControllerWithStatusDialog.cs
- DbModificationClause.cs
- CheckBoxStandardAdapter.cs
- X509ChainElement.cs
- KeyFrames.cs
- WizardPanelChangingEventArgs.cs