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
- ParentControlDesigner.cs
- FontInfo.cs
- RegistrySecurity.cs
- MatrixCamera.cs
- RelationshipConverter.cs
- ToolZoneDesigner.cs
- XPathChildIterator.cs
- DrawListViewSubItemEventArgs.cs
- NodeFunctions.cs
- FontFamily.cs
- DataServiceContext.cs
- WebEventCodes.cs
- GeometryModel3D.cs
- DotExpr.cs
- MsmqUri.cs
- XmlAnyElementAttributes.cs
- CommandTreeTypeHelper.cs
- CodeTypeReferenceCollection.cs
- SystemWebSectionGroup.cs
- CodeCommentStatement.cs
- Internal.cs
- MessageQueueException.cs
- SqlNode.cs
- AutomationElement.cs
- NeedSkipTokenVisitor.cs
- SapiRecoContext.cs
- Triplet.cs
- View.cs
- ParagraphVisual.cs
- AudioLevelUpdatedEventArgs.cs
- IisTraceListener.cs
- Geometry.cs
- TargetPerspective.cs
- EntryWrittenEventArgs.cs
- ProcessInfo.cs
- MailDefinition.cs
- TreeViewDesigner.cs
- DbCommandTree.cs
- TextControl.cs
- SqlProfileProvider.cs
- UpdateCommandGenerator.cs
- IIS7WorkerRequest.cs
- TextDocumentView.cs
- COM2Properties.cs
- HttpRequest.cs
- HostVisual.cs
- SystemIcmpV4Statistics.cs
- ToolZone.cs
- SiteMapDataSourceView.cs
- MemoryRecordBuffer.cs
- AuthStoreRoleProvider.cs
- RootProfilePropertySettingsCollection.cs
- InvalidWorkflowException.cs
- CodeDirectionExpression.cs
- LabelDesigner.cs
- DragStartedEventArgs.cs
- LineServicesCallbacks.cs
- SqlVersion.cs
- SplineKeyFrames.cs
- ChannelSettingsElement.cs
- DataColumnMappingCollection.cs
- AmbientProperties.cs
- RadioButtonAutomationPeer.cs
- BindingWorker.cs
- ScriptServiceAttribute.cs
- Parser.cs
- OleServicesContext.cs
- ConnectivityStatus.cs
- MultiSelectRootGridEntry.cs
- NamespaceQuery.cs
- SimpleTextLine.cs
- PresentationSource.cs
- Atom10FormatterFactory.cs
- EncoderBestFitFallback.cs
- StringPropertyBuilder.cs
- TableLayoutRowStyleCollection.cs
- FormsIdentity.cs
- WindowsIPAddress.cs
- SelectionRangeConverter.cs
- StyleBamlRecordReader.cs
- TextLineBreak.cs
- UrlMapping.cs
- WebEncodingValidator.cs
- SingleAnimation.cs
- PointLight.cs
- GifBitmapEncoder.cs
- OleDbErrorCollection.cs
- HtmlInputPassword.cs
- BindingMAnagerBase.cs
- ColorConvertedBitmap.cs
- XmlSchemaRedefine.cs
- HttpInputStream.cs
- SqlTriggerAttribute.cs
- SynchronousChannel.cs
- PixelFormat.cs
- ExpressionPrefixAttribute.cs
- PackageDocument.cs
- LocatorPart.cs
- ImageField.cs
- XmlnsPrefixAttribute.cs