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
- TextTreeDeleteContentUndoUnit.cs
- ResourcePermissionBaseEntry.cs
- StatusBar.cs
- CollectionView.cs
- ProfileSection.cs
- XmlWriterTraceListener.cs
- AspNetSynchronizationContext.cs
- DateTimeConstantAttribute.cs
- RTLAwareMessageBox.cs
- DataServiceCollectionOfT.cs
- ResourceReader.cs
- AppDomain.cs
- Parameter.cs
- MimeTypeMapper.cs
- SiteMapDataSourceView.cs
- ReflectEventDescriptor.cs
- WorkflowServiceAttributesTypeConverter.cs
- WebColorConverter.cs
- PrivateFontCollection.cs
- SqlProfileProvider.cs
- precedingquery.cs
- WorkflowMarkupSerializationManager.cs
- WebPart.cs
- MouseGestureConverter.cs
- AudioBase.cs
- Misc.cs
- BindingNavigator.cs
- ObjectListComponentEditor.cs
- XXXInfos.cs
- ObjectNotFoundException.cs
- MetafileHeader.cs
- FrameworkContentElementAutomationPeer.cs
- ByteAnimationBase.cs
- PersonalizationState.cs
- ModelUIElement3D.cs
- MonikerHelper.cs
- _IPv4Address.cs
- StreamUpgradeAcceptor.cs
- RectangleGeometry.cs
- ComPlusThreadInitializer.cs
- StyleSelector.cs
- DataGridViewRowPostPaintEventArgs.cs
- ResourceCategoryAttribute.cs
- SessionEndedEventArgs.cs
- EntityDataSourceChangedEventArgs.cs
- DefaultSection.cs
- Int64Storage.cs
- CalendarButtonAutomationPeer.cs
- SchemaImporterExtensionElement.cs
- AuthorizationRule.cs
- DbUpdateCommandTree.cs
- ExtensionWindow.cs
- XmlSchemaAppInfo.cs
- Merger.cs
- ThemeableAttribute.cs
- ListViewCommandEventArgs.cs
- MdiWindowListItemConverter.cs
- SuppressMergeCheckAttribute.cs
- WebConfigurationHost.cs
- NameObjectCollectionBase.cs
- HttpContextServiceHost.cs
- WindowsIdentity.cs
- JsonReaderWriterFactory.cs
- ChildDocumentBlock.cs
- StylusTip.cs
- MeshGeometry3D.cs
- ContainerFilterService.cs
- EventsTab.cs
- GeometryDrawing.cs
- XmlMembersMapping.cs
- ScriptServiceAttribute.cs
- ItemsChangedEventArgs.cs
- RubberbandSelector.cs
- WorkflowTransactionService.cs
- WindowsFormsSynchronizationContext.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- DataViewSettingCollection.cs
- UnsafeNativeMethods.cs
- PeerNearMe.cs
- DataGridRowEventArgs.cs
- NonVisualControlAttribute.cs
- StringReader.cs
- ObjectDataSourceDisposingEventArgs.cs
- KeyedQueue.cs
- LedgerEntry.cs
- HandoffBehavior.cs
- DataExchangeServiceBinder.cs
- SafeRegistryHandle.cs
- HwndKeyboardInputProvider.cs
- Connector.xaml.cs
- OdbcException.cs
- DataGridViewElement.cs
- UrlPropertyAttribute.cs
- NativeCompoundFileAPIs.cs
- VariableQuery.cs
- Type.cs
- DataGridViewHitTestInfo.cs
- DataGridViewColumnCollection.cs
- EnumValAlphaComparer.cs
- StrokeIntersection.cs