Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Framework / System / Windows / Markup / Localizer / BamlLocalizerErrorNotifyEventArgs.cs / 1 / BamlLocalizerErrorNotifyEventArgs.cs
//------------------------------------------------------------------------
//
// Microsoft Windows Client Platform
// Copyright (C) Microsoft Corporation, 2001
//
// File: BamlLocalizerErrorNotifyEventArgs.cs
//
// Created: 2/27/2006 Garyyang
//-----------------------------------------------------------------------
using System;
namespace System.Windows.Markup.Localizer
{
///
/// The EventArgs for the BamlLocalizer.ErrorNotify event.
///
public class BamlLocalizerErrorNotifyEventArgs : EventArgs
{
BamlLocalizableResourceKey _key; // The key of the localizable resources related to the error
BamlLocalizerError _error; // The error code.
internal BamlLocalizerErrorNotifyEventArgs(BamlLocalizableResourceKey key, BamlLocalizerError error)
{
_key = key;
//
_error = error;
}
///
/// The key of the BamlLocalizableResource related to the error
///
public BamlLocalizableResourceKey Key { get { return _key; } }
///
/// The error encountered by BamlLocalizer
///
public BamlLocalizerError Error { get { return _error; } }
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------
//
// Microsoft Windows Client Platform
// Copyright (C) Microsoft Corporation, 2001
//
// File: BamlLocalizerErrorNotifyEventArgs.cs
//
// Created: 2/27/2006 Garyyang
//-----------------------------------------------------------------------
using System;
namespace System.Windows.Markup.Localizer
{
///
/// The EventArgs for the BamlLocalizer.ErrorNotify event.
///
public class BamlLocalizerErrorNotifyEventArgs : EventArgs
{
BamlLocalizableResourceKey _key; // The key of the localizable resources related to the error
BamlLocalizerError _error; // The error code.
internal BamlLocalizerErrorNotifyEventArgs(BamlLocalizableResourceKey key, BamlLocalizerError error)
{
_key = key;
//
_error = error;
}
///
/// The key of the BamlLocalizableResource related to the error
///
public BamlLocalizableResourceKey Key { get { return _key; } }
///
/// The error encountered by BamlLocalizer
///
public BamlLocalizerError Error { get { return _error; } }
}
}
// 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
- MonitorWrapper.cs
- TableLayoutPanelCodeDomSerializer.cs
- DataColumnMappingCollection.cs
- XmlCharType.cs
- Adorner.cs
- OutputWindow.cs
- VScrollBar.cs
- GetBrowserTokenRequest.cs
- ResourceReferenceKeyNotFoundException.cs
- Variable.cs
- UtilityExtension.cs
- EdmSchemaAttribute.cs
- Vector3DKeyFrameCollection.cs
- SingleTagSectionHandler.cs
- XPathDocument.cs
- URLIdentityPermission.cs
- SBCSCodePageEncoding.cs
- XmlReaderDelegator.cs
- OneWayChannelListener.cs
- RuntimeConfigurationRecord.cs
- WebZone.cs
- AsymmetricCryptoHandle.cs
- DrawingBrush.cs
- UnsafeCollabNativeMethods.cs
- ADConnectionHelper.cs
- InvalidComObjectException.cs
- StreamWithDictionary.cs
- TrackingMemoryStream.cs
- HttpStreamXmlDictionaryReader.cs
- MouseButtonEventArgs.cs
- InitializationEventAttribute.cs
- COM2FontConverter.cs
- ItemsControl.cs
- Tag.cs
- EmptyStringExpandableObjectConverter.cs
- XDRSchema.cs
- Section.cs
- FloatUtil.cs
- CatalogPartChrome.cs
- ApplicationDirectoryMembershipCondition.cs
- SchemaTableColumn.cs
- UnmanagedMemoryStream.cs
- DataKeyArray.cs
- _CommandStream.cs
- CheckBoxFlatAdapter.cs
- HttpCapabilitiesSectionHandler.cs
- RuleSettings.cs
- BindingWorker.cs
- FormViewDeletedEventArgs.cs
- AssemblyBuilder.cs
- ConstructorArgumentAttribute.cs
- TargetControlTypeCache.cs
- DocumentOrderComparer.cs
- ThaiBuddhistCalendar.cs
- ResolveResponseInfo.cs
- CqlLexer.cs
- SqlBinder.cs
- FrameworkContentElement.cs
- MinimizableAttributeTypeConverter.cs
- XmlHelper.cs
- ConsoleTraceListener.cs
- Size3DConverter.cs
- CloseCryptoHandleRequest.cs
- UniqueConstraint.cs
- CachedBitmap.cs
- ToolStripDropDownDesigner.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- GridViewHeaderRowPresenter.cs
- OracleColumn.cs
- GeneralTransform3DGroup.cs
- BitmapPalette.cs
- LinkButton.cs
- CustomBinding.cs
- LinkedList.cs
- WebPartAuthorizationEventArgs.cs
- AtomServiceDocumentSerializer.cs
- SendActivityValidator.cs
- DataGridComboBoxColumn.cs
- SocketPermission.cs
- ContractBase.cs
- RootProfilePropertySettingsCollection.cs
- OleDbWrapper.cs
- Debug.cs
- ManagementException.cs
- RequestBringIntoViewEventArgs.cs
- DataGridViewSelectedCellCollection.cs
- DeploymentSection.cs
- ButtonChrome.cs
- FormattedText.cs
- HtmlButton.cs
- Pair.cs
- WebPartConnectionsDisconnectVerb.cs
- ToolStripProgressBar.cs
- XmlReflectionMember.cs
- QueryCursorEventArgs.cs
- PrimitiveDataContract.cs
- DbRetry.cs
- OverflowException.cs
- XmlReflectionMember.cs
- ColorContext.cs