Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- SoapParser.cs
- ProtocolsSection.cs
- TreeViewDataItemAutomationPeer.cs
- PauseStoryboard.cs
- TextRenderingModeValidation.cs
- Lasso.cs
- RenderCapability.cs
- StatusBarPanel.cs
- QilXmlReader.cs
- DefaultMemberAttribute.cs
- RuleSetDialog.cs
- PrintDocument.cs
- FixedFindEngine.cs
- xmlfixedPageInfo.cs
- SecurityContext.cs
- CatalogPart.cs
- QuarticEase.cs
- WinInet.cs
- Evidence.cs
- SqlUserDefinedAggregateAttribute.cs
- Serializer.cs
- SvcMapFile.cs
- ViewSimplifier.cs
- ToolboxItemCollection.cs
- ButtonFlatAdapter.cs
- ColorPalette.cs
- MediaSystem.cs
- WebRequestModuleElement.cs
- ColumnHeaderConverter.cs
- SelectedGridItemChangedEvent.cs
- HuffmanTree.cs
- ViewService.cs
- HwndAppCommandInputProvider.cs
- DataBindingExpressionBuilder.cs
- XmlSchemaInferenceException.cs
- OleDbRowUpdatedEvent.cs
- unsafeIndexingFilterStream.cs
- WebPartConnectionCollection.cs
- PageCache.cs
- OpenFileDialog.cs
- GroupByQueryOperator.cs
- ApplicationBuildProvider.cs
- FixedFlowMap.cs
- QueueProcessor.cs
- SmiConnection.cs
- DataGridBoolColumn.cs
- XmlSerializationGeneratedCode.cs
- ComboBoxHelper.cs
- DropShadowEffect.cs
- MatrixAnimationUsingPath.cs
- ControlPropertyNameConverter.cs
- IsolatedStoragePermission.cs
- MessageDecoder.cs
- CommentGlyph.cs
- XmlObjectSerializerReadContextComplexJson.cs
- InstanceDataCollection.cs
- Schema.cs
- Internal.cs
- GiveFeedbackEvent.cs
- ToolStripGripRenderEventArgs.cs
- ImpersonationContext.cs
- BroadcastEventHelper.cs
- TabItemWrapperAutomationPeer.cs
- PackageProperties.cs
- HttpWebResponse.cs
- HttpChannelListener.cs
- smtppermission.cs
- WmlTextViewAdapter.cs
- InvalidCastException.cs
- COAUTHINFO.cs
- DefaultValueTypeConverter.cs
- Fonts.cs
- KeyTime.cs
- SqlDependencyListener.cs
- IdentitySection.cs
- ClientUrlResolverWrapper.cs
- RadioButtonFlatAdapter.cs
- UnitySerializationHolder.cs
- TextDecorationUnitValidation.cs
- WebPartTransformer.cs
- UdpSocketReceiveManager.cs
- WebEventCodes.cs
- URLIdentityPermission.cs
- DispatcherObject.cs
- StyleCollection.cs
- QilName.cs
- TreeViewImageKeyConverter.cs
- ValidateNames.cs
- PropertyItemInternal.cs
- NameValueSectionHandler.cs
- GregorianCalendar.cs
- XpsS0ValidatingLoader.cs
- FormatterServices.cs
- ListSurrogate.cs
- TextElementCollectionHelper.cs
- odbcmetadatacollectionnames.cs
- AlternationConverter.cs
- VisualBasic.cs
- DesignerFrame.cs
- CodeArgumentReferenceExpression.cs