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
- WrappedIUnknown.cs
- SplineQuaternionKeyFrame.cs
- FirstMatchCodeGroup.cs
- _ShellExpression.cs
- ServicePointManager.cs
- WindowsFormsSynchronizationContext.cs
- StateFinalizationActivity.cs
- FixedPageStructure.cs
- DataPager.cs
- Visual3D.cs
- TabControl.cs
- SynchronizedDispatch.cs
- MarkupWriter.cs
- DefaultIfEmptyQueryOperator.cs
- SignatureHelper.cs
- FileUtil.cs
- BufferCache.cs
- QilExpression.cs
- MethodImplAttribute.cs
- CellNormalizer.cs
- Root.cs
- MergePropertyDescriptor.cs
- TileBrush.cs
- OleDbConnectionFactory.cs
- AliasExpr.cs
- Int32Animation.cs
- ConfigXmlText.cs
- ConnectionStringsExpressionEditor.cs
- CachedBitmap.cs
- RadioButtonRenderer.cs
- AQNBuilder.cs
- EntityDataSourceChangingEventArgs.cs
- SurrogateChar.cs
- UIPermission.cs
- CodeLinePragma.cs
- PointAnimation.cs
- TrailingSpaceComparer.cs
- XPathScanner.cs
- PauseStoryboard.cs
- HostedBindingBehavior.cs
- ReadWriteObjectLock.cs
- RuntimeConfigLKG.cs
- IERequestCache.cs
- Drawing.cs
- XmlLoader.cs
- Point3DKeyFrameCollection.cs
- ProtocolViolationException.cs
- EmptyQuery.cs
- UnsafeNativeMethodsMilCoreApi.cs
- SecurityPermission.cs
- TrustManager.cs
- WebBrowserSiteBase.cs
- ComNativeDescriptor.cs
- SchemaMerger.cs
- SamlDoNotCacheCondition.cs
- PolyQuadraticBezierSegment.cs
- FilteredDataSetHelper.cs
- XmlQuerySequence.cs
- FixedSOMGroup.cs
- WebPartConnectionsCancelEventArgs.cs
- DispatchOperationRuntime.cs
- HttpProfileGroupBase.cs
- SQLDateTime.cs
- NamespaceMapping.cs
- PaginationProgressEventArgs.cs
- SessionState.cs
- FontStretch.cs
- SqlCacheDependency.cs
- SchemaConstraints.cs
- OracleConnection.cs
- ToolStripItemTextRenderEventArgs.cs
- Parsers.cs
- SettingsPropertyNotFoundException.cs
- SetterBaseCollection.cs
- Int16AnimationBase.cs
- Operand.cs
- HandleExceptionArgs.cs
- WorkerRequest.cs
- IFlowDocumentViewer.cs
- ScrollableControl.cs
- HttpProfileGroupBase.cs
- CommentAction.cs
- InternalBase.cs
- SerialPinChanges.cs
- NameSpaceExtractor.cs
- BulletedList.cs
- SafeProcessHandle.cs
- Int64AnimationBase.cs
- CanExecuteRoutedEventArgs.cs
- SystemException.cs
- PathSegmentCollection.cs
- Vector3DValueSerializer.cs
- SqlExpander.cs
- NodeCounter.cs
- TrustLevelCollection.cs
- UseLicense.cs
- ServiceDescriptionImporter.cs
- SplineKeyFrames.cs
- MbpInfo.cs
- SemanticAnalyzer.cs