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
- SQLDateTimeStorage.cs
- FlowLayout.cs
- TransformPattern.cs
- TextContainerHelper.cs
- NativeMsmqMessage.cs
- IndexOutOfRangeException.cs
- PrintDialog.cs
- InstanceNotFoundException.cs
- LeftCellWrapper.cs
- ClientFormsAuthenticationCredentials.cs
- MD5CryptoServiceProvider.cs
- SqlFunctions.cs
- ObjectPersistData.cs
- RequestResponse.cs
- AstTree.cs
- KeyConstraint.cs
- SqlAliaser.cs
- DBConcurrencyException.cs
- TextServicesLoader.cs
- ByteAnimation.cs
- PermissionToken.cs
- QueryTaskGroupState.cs
- Figure.cs
- DataControlField.cs
- Error.cs
- FlowPanelDesigner.cs
- FixedSOMPageElement.cs
- GridViewCancelEditEventArgs.cs
- DataMisalignedException.cs
- ControlSerializer.cs
- DesignerHierarchicalDataSourceView.cs
- SByteStorage.cs
- XmlConvert.cs
- AdornerPresentationContext.cs
- HostProtectionPermission.cs
- MsmqBindingElementBase.cs
- WebResourceUtil.cs
- ContractInstanceProvider.cs
- ComContractElement.cs
- WebScriptMetadataMessage.cs
- SID.cs
- EntityDataSourceChangedEventArgs.cs
- SecurityUtils.cs
- PassportPrincipal.cs
- SignatureToken.cs
- ColumnMapProcessor.cs
- DrawItemEvent.cs
- Renderer.cs
- webclient.cs
- GridItemProviderWrapper.cs
- ApplicationId.cs
- PermissionAttributes.cs
- SortableBindingList.cs
- Event.cs
- PreviewPageInfo.cs
- LassoSelectionBehavior.cs
- NameValueFileSectionHandler.cs
- OledbConnectionStringbuilder.cs
- X509CertificateValidationMode.cs
- Application.cs
- NamedElement.cs
- RequestResponse.cs
- InProcStateClientManager.cs
- TextTreeTextBlock.cs
- RelatedCurrencyManager.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- SmtpReplyReader.cs
- MediaElementAutomationPeer.cs
- QuaternionAnimation.cs
- SoapHeader.cs
- CompiledQueryCacheKey.cs
- FacetEnabledSchemaElement.cs
- Configuration.cs
- FillRuleValidation.cs
- RepeatBehavior.cs
- AssociationSetMetadata.cs
- FileSystemWatcher.cs
- WindowHideOrCloseTracker.cs
- PaintEvent.cs
- DesignBindingValueUIHandler.cs
- SubMenuStyleCollection.cs
- ExceptionDetail.cs
- CapabilitiesRule.cs
- PageContentAsyncResult.cs
- XmlCharCheckingWriter.cs
- Opcode.cs
- StructuralCache.cs
- SectionInput.cs
- DataGridViewUtilities.cs
- PersistenceProviderDirectory.cs
- SqlInternalConnectionTds.cs
- FontNamesConverter.cs
- QilChoice.cs
- LinkedResourceCollection.cs
- LambdaCompiler.Address.cs
- PermissionSet.cs
- SafeEventLogReadHandle.cs
- RegexMatchCollection.cs
- CompiledQueryCacheKey.cs
- StandardOleMarshalObject.cs