Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Resources / MissingSatelliteAssemblyException.cs / 1305376 / MissingSatelliteAssemblyException.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*============================================================
**
** Class: MissingSatelliteAssemblyException
**
** [....]
**
**
** Purpose: Exception for a missing satellite assembly needed
** for ultimate resource fallback. This usually
** indicates a setup and/or deployment problem.
**
**
===========================================================*/
using System;
using System.Runtime.Serialization;
namespace System.Resources {
[Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public class MissingSatelliteAssemblyException : SystemException
{
private String _cultureName;
public MissingSatelliteAssemblyException()
: base(Environment.GetResourceString("MissingSatelliteAssembly_Default")) {
SetErrorCode(__HResults.COR_E_MISSINGSATELLITEASSEMBLY);
}
public MissingSatelliteAssemblyException(String message)
: base(message) {
SetErrorCode(__HResults.COR_E_MISSINGSATELLITEASSEMBLY);
}
public MissingSatelliteAssemblyException(String message, String cultureName)
: base(message) {
SetErrorCode(__HResults.COR_E_MISSINGSATELLITEASSEMBLY);
_cultureName = cultureName;
}
public MissingSatelliteAssemblyException(String message, Exception inner)
: base(message, inner) {
SetErrorCode(__HResults.COR_E_MISSINGSATELLITEASSEMBLY);
}
#if FEATURE_SERIALIZATION
[System.Security.SecuritySafeCritical] // auto-generated
protected MissingSatelliteAssemblyException(SerializationInfo info, StreamingContext context) : base (info, context) {
}
#endif // FEATURE_SERIALIZATION
public String CultureName {
get { return _cultureName; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*============================================================
**
** Class: MissingSatelliteAssemblyException
**
** [....]
**
**
** Purpose: Exception for a missing satellite assembly needed
** for ultimate resource fallback. This usually
** indicates a setup and/or deployment problem.
**
**
===========================================================*/
using System;
using System.Runtime.Serialization;
namespace System.Resources {
[Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public class MissingSatelliteAssemblyException : SystemException
{
private String _cultureName;
public MissingSatelliteAssemblyException()
: base(Environment.GetResourceString("MissingSatelliteAssembly_Default")) {
SetErrorCode(__HResults.COR_E_MISSINGSATELLITEASSEMBLY);
}
public MissingSatelliteAssemblyException(String message)
: base(message) {
SetErrorCode(__HResults.COR_E_MISSINGSATELLITEASSEMBLY);
}
public MissingSatelliteAssemblyException(String message, String cultureName)
: base(message) {
SetErrorCode(__HResults.COR_E_MISSINGSATELLITEASSEMBLY);
_cultureName = cultureName;
}
public MissingSatelliteAssemblyException(String message, Exception inner)
: base(message, inner) {
SetErrorCode(__HResults.COR_E_MISSINGSATELLITEASSEMBLY);
}
#if FEATURE_SERIALIZATION
[System.Security.SecuritySafeCritical] // auto-generated
protected MissingSatelliteAssemblyException(SerializationInfo info, StreamingContext context) : base (info, context) {
}
#endif // FEATURE_SERIALIZATION
public String CultureName {
get { return _cultureName; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FileDialog_Vista.cs
- MenuItemAutomationPeer.cs
- AssemblyInfo.cs
- CommonObjectSecurity.cs
- CustomPopupPlacement.cs
- SafeProcessHandle.cs
- SolidBrush.cs
- ToolStripCodeDomSerializer.cs
- CommonProperties.cs
- SqlCommand.cs
- SynchronizedMessageSource.cs
- MetaColumn.cs
- COM2AboutBoxPropertyDescriptor.cs
- IIS7WorkerRequest.cs
- SelectorItemAutomationPeer.cs
- TypeDescriptionProvider.cs
- URIFormatException.cs
- FormattedText.cs
- EdmItemCollection.cs
- TreeNodeEventArgs.cs
- ExpressionLexer.cs
- LongValidatorAttribute.cs
- VisualStateChangedEventArgs.cs
- Base64Encoder.cs
- Sentence.cs
- OdbcTransaction.cs
- Scheduler.cs
- DelegatingConfigHost.cs
- SoapServerMessage.cs
- WaveHeader.cs
- TextTreeInsertUndoUnit.cs
- OrderPreservingPipeliningMergeHelper.cs
- EndOfStreamException.cs
- SqlClientWrapperSmiStream.cs
- XmlValidatingReader.cs
- Control.cs
- DocumentPageViewAutomationPeer.cs
- TemplateColumn.cs
- PerformanceCounterNameAttribute.cs
- Dictionary.cs
- ToolboxControl.cs
- SemanticResultValue.cs
- PointConverter.cs
- _CommandStream.cs
- PagerSettings.cs
- CustomCredentialPolicy.cs
- TrustManagerMoreInformation.cs
- Font.cs
- AttachedPropertyBrowsableAttribute.cs
- KeyedCollection.cs
- DataGridViewRowCancelEventArgs.cs
- ElementProxy.cs
- ProfileParameter.cs
- PermissionToken.cs
- ClientBuildManager.cs
- DrawingServices.cs
- HttpClientCertificate.cs
- SoapClientProtocol.cs
- Expression.cs
- TdsParserStateObject.cs
- ResourceIDHelper.cs
- ChangePassword.cs
- TraceRecords.cs
- WebService.cs
- Expressions.cs
- Grammar.cs
- SmiMetaDataProperty.cs
- AttributeTable.cs
- PartManifestEntry.cs
- FontFaceLayoutInfo.cs
- Tokenizer.cs
- XsdBuilder.cs
- SQLSingleStorage.cs
- PlatformCulture.cs
- RegistrySecurity.cs
- HttpChannelListener.cs
- UntypedNullExpression.cs
- TypedElement.cs
- TableLayoutStyleCollection.cs
- QilPatternVisitor.cs
- QilName.cs
- QueryContinueDragEventArgs.cs
- DeploymentExceptionMapper.cs
- EncoderNLS.cs
- UnsafeNativeMethods.cs
- ScopedMessagePartSpecification.cs
- ResourceSet.cs
- HitTestWithPointDrawingContextWalker.cs
- InputLanguageEventArgs.cs
- StateBag.cs
- Filter.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- GacUtil.cs
- BooleanExpr.cs
- QilPatternVisitor.cs
- EnumDataContract.cs
- StretchValidation.cs
- EntityContainerRelationshipSetEnd.cs
- AttributeExtensions.cs
- OdbcParameterCollection.cs