Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / clr / src / BCL / System / PlatformNotSupportedException.cs / 1 / 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); } 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); } 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
- FormViewPageEventArgs.cs
- BitmapEffectCollection.cs
- PageBuildProvider.cs
- SafeRightsManagementPubHandle.cs
- ParserStreamGeometryContext.cs
- XmlSchemaSimpleType.cs
- ReadContentAsBinaryHelper.cs
- printdlgexmarshaler.cs
- SystemPens.cs
- ServiceDiscoveryElement.cs
- Assert.cs
- AllowedAudienceUriElementCollection.cs
- ClientOptions.cs
- ForAllOperator.cs
- Permission.cs
- Monitor.cs
- HttpWriter.cs
- StickyNote.cs
- CompilationUnit.cs
- XmlAnyElementAttributes.cs
- PanelDesigner.cs
- HScrollProperties.cs
- AuthenticationManager.cs
- ViewKeyConstraint.cs
- FormViewInsertedEventArgs.cs
- XmlReaderSettings.cs
- ListBoxItemWrapperAutomationPeer.cs
- ContainerFilterService.cs
- SynchronizedDispatch.cs
- XhtmlBasicValidationSummaryAdapter.cs
- CqlLexer.cs
- RectangleGeometry.cs
- TreeView.cs
- WebPartConnectionsDisconnectVerb.cs
- VScrollBar.cs
- DesignerListAdapter.cs
- NavigationCommands.cs
- __Filters.cs
- AsyncOperation.cs
- AssociationSet.cs
- X509IssuerSerialKeyIdentifierClause.cs
- ContextMenuAutomationPeer.cs
- ModelTreeEnumerator.cs
- StateWorkerRequest.cs
- SqlParameterCollection.cs
- CodeDirectoryCompiler.cs
- RuntimeConfig.cs
- ColumnTypeConverter.cs
- PackagePart.cs
- Duration.cs
- ProcessModelInfo.cs
- WebCategoryAttribute.cs
- FontStyles.cs
- ToolStripRenderer.cs
- HttpCacheVary.cs
- XmlCharCheckingWriter.cs
- SetIterators.cs
- FrameworkElement.cs
- CompilationLock.cs
- AliasedSlot.cs
- SortedList.cs
- EntityDataSourceEntitySetNameItem.cs
- MyContact.cs
- MailAddressParser.cs
- DataGridToolTip.cs
- InputBindingCollection.cs
- FileNotFoundException.cs
- ResourceReader.cs
- ChtmlCalendarAdapter.cs
- DefaultTextStoreTextComposition.cs
- ColumnCollectionEditor.cs
- AdjustableArrowCap.cs
- RequestResponse.cs
- RectangleHotSpot.cs
- MatrixTransform3D.cs
- FileDialogPermission.cs
- Vector3DCollectionValueSerializer.cs
- DictionaryBase.cs
- DescendantOverDescendantQuery.cs
- OperationContext.cs
- FixedSOMPage.cs
- StringStorage.cs
- MatrixCamera.cs
- BaseHashHelper.cs
- RowBinding.cs
- Panel.cs
- DPTypeDescriptorContext.cs
- XmlReader.cs
- _SafeNetHandles.cs
- TypeAccessException.cs
- ToolStripContainerActionList.cs
- ControlBindingsCollection.cs
- PlatformNotSupportedException.cs
- XmlElementAttribute.cs
- CodeMemberMethod.cs
- SoapFaultCodes.cs
- RIPEMD160Managed.cs
- CodeMemberField.cs
- OdbcConnectionFactory.cs
- TargetInvocationException.cs