Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- ArglessEventHandlerProxy.cs
- MemberAccessException.cs
- StreamAsIStream.cs
- _Events.cs
- panel.cs
- InternalCache.cs
- WizardStepBase.cs
- ExceptionHelpers.cs
- NamespaceQuery.cs
- PassportIdentity.cs
- AudioException.cs
- FileNotFoundException.cs
- LocatorPartList.cs
- DesignerSerializerAttribute.cs
- RemoveStoryboard.cs
- ConfigurationPropertyAttribute.cs
- HiddenField.cs
- ObjectDataSourceDisposingEventArgs.cs
- CustomCredentialPolicy.cs
- XamlSerializerUtil.cs
- FontNamesConverter.cs
- XmlCodeExporter.cs
- CachingHintValidation.cs
- ResXResourceWriter.cs
- ConfigurationFileMap.cs
- EntityCommandExecutionException.cs
- XmlSchemaAttribute.cs
- XmlSchemaExporter.cs
- ExceptionUtility.cs
- WindowsTitleBar.cs
- TextRangeAdaptor.cs
- OutOfMemoryException.cs
- XNodeValidator.cs
- BoundField.cs
- TextEditorCharacters.cs
- ConfigurationManager.cs
- DetailsViewPageEventArgs.cs
- ReadContentAsBinaryHelper.cs
- HierarchicalDataTemplate.cs
- ArraySubsetEnumerator.cs
- ColumnResizeUndoUnit.cs
- ErrorEventArgs.cs
- Lease.cs
- SudsCommon.cs
- TypeInitializationException.cs
- ObjectKeyFrameCollection.cs
- Message.cs
- Duration.cs
- CompiledQuery.cs
- SqlBulkCopyColumnMappingCollection.cs
- SqlReferenceCollection.cs
- WebPartEditorCancelVerb.cs
- AccessibleObject.cs
- PersonalizationState.cs
- MemberExpressionHelper.cs
- StringExpressionSet.cs
- Matrix.cs
- SocketException.cs
- PointAnimationBase.cs
- MachineKeySection.cs
- WindowsTitleBar.cs
- MDIWindowDialog.cs
- DataRowChangeEvent.cs
- RepeatBehaviorConverter.cs
- ColorBlend.cs
- FormsIdentity.cs
- XamlDesignerSerializationManager.cs
- Hyperlink.cs
- SelectionRangeConverter.cs
- ObjectConverter.cs
- SqlWriter.cs
- ContentOperations.cs
- CryptoApi.cs
- Baml2006KeyRecord.cs
- EventHandlerList.cs
- HtmlButton.cs
- InkCanvasFeedbackAdorner.cs
- HttpCookie.cs
- DupHandleConnectionReader.cs
- FacetChecker.cs
- SoapHeader.cs
- ConstraintCollection.cs
- XmlWhitespace.cs
- SequentialOutput.cs
- DefaultObjectMappingItemCollection.cs
- OverloadGroupAttribute.cs
- EntityDesignerUtils.cs
- GroupBox.cs
- BaseContextMenu.cs
- WebPartMovingEventArgs.cs
- UserControlDesigner.cs
- ObjectPropertyMapping.cs
- UnsafeNativeMethods.cs
- StructuralObject.cs
- XmlAttributeCache.cs
- ContentTextAutomationPeer.cs
- MonitorWrapper.cs
- ThreadAbortException.cs
- WebPartDescriptionCollection.cs
- QueryBranchOp.cs