Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Integration / System / Windows / Integration / PropertyMappingExceptionEventArgs.cs / 1 / PropertyMappingExceptionEventArgs.cs
using System.Diagnostics.CodeAnalysis; using System.Globalization; namespace System.Windows.Forms.Integration { ////// Enables the user to see the property that threw an exception, and to preview or cancel the exception. /// public class PropertyMappingExceptionEventArgs : IntegrationExceptionEventArgs { private string _propertyName; private object _propertyValue; ////// Initializes a new instance of the PropertyMappingExceptionEventArgs class. /// public PropertyMappingExceptionEventArgs(Exception exception, string propertyName, object propertyValue) : base(false, exception) { if (exception == null) { throw new ArgumentNullException(string.Format(CultureInfo.CurrentCulture, SR.Get(SRID.WFI_NullArgument), "exception")); } if (string.IsNullOrEmpty(propertyName)) { throw new ArgumentNullException(string.Format(CultureInfo.CurrentCulture, SR.Get(SRID.WFI_ArgumentNullOrEmpty), "propertyName")); } _propertyName = propertyName; _propertyValue = propertyValue; } ////// Identifies the property that was being mapped when the exception occurred. /// public string PropertyName { get { return _propertyName; } } ////// Specifies the value of the property that was being mapped when the exception occurred. /// public object PropertyValue { get { return _propertyValue; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ColorTransformHelper.cs
- SelfIssuedAuthRSAPKCS1SignatureFormatter.cs
- DataFormat.cs
- CultureMapper.cs
- NullReferenceException.cs
- DesignerOptionService.cs
- ColorInterpolationModeValidation.cs
- WebPartEventArgs.cs
- MenuItemStyleCollection.cs
- TableRowGroup.cs
- FormView.cs
- MimeWriter.cs
- HttpCookiesSection.cs
- ValidatedControlConverter.cs
- DetailsViewUpdatedEventArgs.cs
- CapabilitiesState.cs
- SignatureDescription.cs
- Bind.cs
- TableAutomationPeer.cs
- DatePickerTextBox.cs
- InfoCardArgumentException.cs
- ScaleTransform.cs
- DeobfuscatingStream.cs
- controlskin.cs
- SqlNotificationRequest.cs
- XamlInt32CollectionSerializer.cs
- IImplicitResourceProvider.cs
- CollectionBase.cs
- HttpResponseBase.cs
- CompilationRelaxations.cs
- NotificationContext.cs
- SingleAnimationUsingKeyFrames.cs
- SingleConverter.cs
- ACE.cs
- DataColumnPropertyDescriptor.cs
- XmlHierarchicalEnumerable.cs
- _HTTPDateParse.cs
- XLinq.cs
- TrimSurroundingWhitespaceAttribute.cs
- SoapSchemaMember.cs
- CategoryNameCollection.cs
- UniqueConstraint.cs
- TCEAdapterGenerator.cs
- ControlValuePropertyAttribute.cs
- QilFactory.cs
- PathGradientBrush.cs
- ValueTypeFixupInfo.cs
- ComPlusDiagnosticTraceSchemas.cs
- Version.cs
- SetterBase.cs
- WebPartVerbCollection.cs
- WebControlAdapter.cs
- SqlBulkCopyColumnMappingCollection.cs
- RegisteredArrayDeclaration.cs
- SortedDictionary.cs
- ImportCatalogPart.cs
- securitymgrsite.cs
- DataReceivedEventArgs.cs
- InternalConfirm.cs
- rsa.cs
- SchemaImporterExtensionElement.cs
- ExpressionVisitor.cs
- PartialCachingAttribute.cs
- EntityAdapter.cs
- LogSwitch.cs
- WrapPanel.cs
- _ScatterGatherBuffers.cs
- CollectionMarkupSerializer.cs
- SharedPersonalizationStateInfo.cs
- DispatcherExceptionFilterEventArgs.cs
- WebReferencesBuildProvider.cs
- TraceEventCache.cs
- DataColumnMappingCollection.cs
- ImageEditor.cs
- FilterableAttribute.cs
- CapabilitiesState.cs
- DesignerFrame.cs
- SkewTransform.cs
- DocumentXPathNavigator.cs
- DataTemplate.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- X509Certificate2.cs
- TextDocumentView.cs
- DataObjectMethodAttribute.cs
- TypeViewSchema.cs
- DbConnectionPoolGroup.cs
- SortQueryOperator.cs
- WebPartVerbsEventArgs.cs
- Page.cs
- DbConnectionPoolGroup.cs
- Number.cs
- ActiveDocumentEvent.cs
- Serializer.cs
- JsonSerializer.cs
- XmlJsonWriter.cs
- PropertyItem.cs
- ColorMatrix.cs
- CompilationUtil.cs
- TextEndOfParagraph.cs
- FlowchartDesignerCommands.cs