Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / PlatformNotSupportedException.cs / 1305376 / PlatformNotSupportedException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: PlatformNotSupportedException ** ** ** Purpose: To handle features that don't run on particular platforms ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class PlatformNotSupportedException : NotSupportedException { public PlatformNotSupportedException() : base(Environment.GetResourceString("Arg_PlatformNotSupported")) { SetErrorCode(__HResults.COR_E_PLATFORMNOTSUPPORTED); } public PlatformNotSupportedException(String message) : base(message) { SetErrorCode(__HResults.COR_E_PLATFORMNOTSUPPORTED); } public PlatformNotSupportedException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_PLATFORMNOTSUPPORTED); } [System.Security.SecuritySafeCritical] // auto-generated protected PlatformNotSupportedException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: PlatformNotSupportedException ** ** ** Purpose: To handle features that don't run on particular platforms ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class PlatformNotSupportedException : NotSupportedException { public PlatformNotSupportedException() : base(Environment.GetResourceString("Arg_PlatformNotSupported")) { SetErrorCode(__HResults.COR_E_PLATFORMNOTSUPPORTED); } public PlatformNotSupportedException(String message) : base(message) { SetErrorCode(__HResults.COR_E_PLATFORMNOTSUPPORTED); } public PlatformNotSupportedException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_PLATFORMNOTSUPPORTED); } [System.Security.SecuritySafeCritical] // auto-generated protected PlatformNotSupportedException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // 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
- ExternalException.cs
- MediaPlayer.cs
- WorkflowViewService.cs
- TrustLevelCollection.cs
- Registration.cs
- RichTextBoxConstants.cs
- DataGridViewCellCollection.cs
- TargetControlTypeCache.cs
- PrePostDescendentsWalker.cs
- IntellisenseTextBox.cs
- FileDialog.cs
- NameValueFileSectionHandler.cs
- ColumnClickEvent.cs
- NetworkInformationPermission.cs
- Helper.cs
- DataTemplateSelector.cs
- WorkflowPersistenceContext.cs
- SymbolDocumentGenerator.cs
- DataGridViewSelectedColumnCollection.cs
- ProcessStartInfo.cs
- ExpressionBinding.cs
- Validator.cs
- propertyentry.cs
- CompoundFileIOPermission.cs
- Grid.cs
- StringConcat.cs
- DescendantOverDescendantQuery.cs
- EntityType.cs
- StickyNote.cs
- TaiwanLunisolarCalendar.cs
- ServerIdentity.cs
- TreeViewEvent.cs
- XmlLinkedNode.cs
- EntityDataSourceViewSchema.cs
- ListBox.cs
- WebPartsSection.cs
- PropertyGeneratedEventArgs.cs
- ExceptionValidationRule.cs
- WindowsRichEditRange.cs
- WorkflowServiceHost.cs
- Pair.cs
- ConnectionStringsSection.cs
- XmlSchemaComplexContentRestriction.cs
- SafeThemeHandle.cs
- NameValuePair.cs
- NamespaceInfo.cs
- OutputCacheModule.cs
- TextRangeAdaptor.cs
- PersonalizationProviderHelper.cs
- InstanceOwnerException.cs
- RawStylusActions.cs
- DelegateArgumentReference.cs
- PackWebRequestFactory.cs
- log.cs
- BaseCodePageEncoding.cs
- MenuStrip.cs
- SpeechSynthesizer.cs
- WebAdminConfigurationHelper.cs
- TextEditorCharacters.cs
- EventPropertyMap.cs
- WebBrowsableAttribute.cs
- ViewSimplifier.cs
- ToolboxItemWrapper.cs
- PaperSource.cs
- DocumentXmlWriter.cs
- TileBrush.cs
- BigInt.cs
- ObjectDataSourceMethodEventArgs.cs
- SpecialTypeDataContract.cs
- rsa.cs
- Group.cs
- DataGridViewRowEventArgs.cs
- FileDialog_Vista_Interop.cs
- ColorMap.cs
- Preprocessor.cs
- SqlLiftIndependentRowExpressions.cs
- QualificationDataItem.cs
- CodeValidator.cs
- ClientSponsor.cs
- PagedDataSource.cs
- RuntimeConfigLKG.cs
- ZipIOLocalFileDataDescriptor.cs
- XmlLanguageConverter.cs
- ReadOnlyDataSource.cs
- DecoderExceptionFallback.cs
- DebuggerService.cs
- DesignerActionPropertyItem.cs
- SystemInfo.cs
- ConnectionProviderAttribute.cs
- CodeCommentStatementCollection.cs
- SparseMemoryStream.cs
- ProgressBarAutomationPeer.cs
- SystemTcpStatistics.cs
- EventToken.cs
- BaseAppDomainProtocolHandler.cs
- EntityContainerEmitter.cs
- ItemContainerGenerator.cs
- DesignerUtility.cs
- CommandManager.cs
- webproxy.cs