Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / Resources / MissingSatelliteAssemblyException.cs / 1 / 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); } protected MissingSatelliteAssemblyException(SerializationInfo info, StreamingContext context) : base (info, context) { } 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); } protected MissingSatelliteAssemblyException(SerializationInfo info, StreamingContext context) : base (info, context) { } 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
- EndpointDiscoveryBehavior.cs
- COM2FontConverter.cs
- Model3DGroup.cs
- CaseInsensitiveOrdinalStringComparer.cs
- DtrList.cs
- TypeLibConverter.cs
- DesignOnlyAttribute.cs
- RawUIStateInputReport.cs
- SqlError.cs
- StandardRuntimeEnumValidatorAttribute.cs
- peersecurityelement.cs
- NavigationCommands.cs
- SiteMapSection.cs
- TextViewSelectionProcessor.cs
- DataTrigger.cs
- PriorityBindingExpression.cs
- DataStorage.cs
- ValidatorCollection.cs
- IFlowDocumentViewer.cs
- SQLInt64Storage.cs
- ClientSettingsProvider.cs
- ContactManager.cs
- TypedTableHandler.cs
- XmlSchemaComplexType.cs
- GenericEnumConverter.cs
- UnhandledExceptionEventArgs.cs
- EntityContainerRelationshipSet.cs
- ExpressionEditorAttribute.cs
- ObjectIDGenerator.cs
- Parameter.cs
- XmlSchemaValidator.cs
- QuarticEase.cs
- WebPartConnection.cs
- IsolatedStorageFilePermission.cs
- Baml6Assembly.cs
- FormatterServices.cs
- StringDictionary.cs
- DataGridViewCellStyle.cs
- LoginViewDesigner.cs
- NodeInfo.cs
- Misc.cs
- RestClientProxyHandler.cs
- WsiProfilesElementCollection.cs
- TCPListener.cs
- BamlBinaryReader.cs
- DefaultExpressionVisitor.cs
- _PooledStream.cs
- VariantWrapper.cs
- DataBindingList.cs
- RootBuilder.cs
- SocketException.cs
- ViewManager.cs
- ContainerUIElement3D.cs
- ChameleonKey.cs
- _Connection.cs
- HttpContextWrapper.cs
- TransportOutputChannel.cs
- WorkflowWebService.cs
- Exception.cs
- SpecialFolderEnumConverter.cs
- ManagementObject.cs
- NullableDecimalMinMaxAggregationOperator.cs
- CreatingCookieEventArgs.cs
- ArithmeticException.cs
- DateTimeValueSerializerContext.cs
- Geometry3D.cs
- LinearKeyFrames.cs
- TextLineBreak.cs
- DateTimeConverter2.cs
- MessageDecoder.cs
- GridErrorDlg.cs
- MetadataArtifactLoaderResource.cs
- DeviceContext2.cs
- MessageBox.cs
- MobileFormsAuthentication.cs
- Aes.cs
- SocketPermission.cs
- HttpInputStream.cs
- NativeActivityTransactionContext.cs
- InputBinding.cs
- LinkLabelLinkClickedEvent.cs
- ObjectCloneHelper.cs
- TextRangeEdit.cs
- MatcherBuilder.cs
- PlatformCulture.cs
- IndentedTextWriter.cs
- LineSegment.cs
- ConfigWriter.cs
- _LazyAsyncResult.cs
- RangeValidator.cs
- Speller.cs
- StrokeDescriptor.cs
- SequenceNumber.cs
- Line.cs
- PointUtil.cs
- GuidTagList.cs
- CLRBindingWorker.cs
- HandlerWithFactory.cs
- EventLogSession.cs
- BCryptSafeHandles.cs