Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CodeTypeMemberCollection.cs
- ContextProperty.cs
- ScriptControlDescriptor.cs
- LineServices.cs
- TransactionFlowBindingElementImporter.cs
- HwndSubclass.cs
- GPRECT.cs
- CharacterShapingProperties.cs
- StructuredTypeEmitter.cs
- Bidi.cs
- EnvironmentPermission.cs
- TemplatePropertyEntry.cs
- DataGridViewRowHeaderCell.cs
- ConfigXmlWhitespace.cs
- DictionaryChange.cs
- PluralizationService.cs
- InputProcessorProfiles.cs
- XmlNamespaceManager.cs
- DataGridViewElement.cs
- FormViewModeEventArgs.cs
- EntityDataSourceDataSelectionPanel.cs
- ResourcesGenerator.cs
- TableHeaderCell.cs
- ClaimTypes.cs
- OutputBuffer.cs
- EmptyStringExpandableObjectConverter.cs
- ImageSource.cs
- CompiledXpathExpr.cs
- CancelEventArgs.cs
- PtsCache.cs
- NativeMethods.cs
- ViewStateModeByIdAttribute.cs
- WebPartEditorApplyVerb.cs
- CryptoApi.cs
- UserPreferenceChangedEventArgs.cs
- WebPartHelpVerb.cs
- RayMeshGeometry3DHitTestResult.cs
- ColorContext.cs
- basevalidator.cs
- NamespaceTable.cs
- Matrix3D.cs
- ScriptReferenceEventArgs.cs
- HeaderedItemsControl.cs
- Privilege.cs
- XmlNamespaceManager.cs
- XmlIterators.cs
- HttpCapabilitiesBase.cs
- MarkupProperty.cs
- InvalidAsynchronousStateException.cs
- SystemGatewayIPAddressInformation.cs
- WindowsSolidBrush.cs
- CompilerScope.Storage.cs
- TextEncodedRawTextWriter.cs
- FixedTextPointer.cs
- Perspective.cs
- HttpWebRequestElement.cs
- DataListItemCollection.cs
- WindowsProgressbar.cs
- HtmlHead.cs
- WebPageTraceListener.cs
- PagePropertiesChangingEventArgs.cs
- _Semaphore.cs
- Int32Converter.cs
- Cursor.cs
- ConfigXmlWhitespace.cs
- RadialGradientBrush.cs
- SafeRightsManagementHandle.cs
- ContextQuery.cs
- MethodCallTranslator.cs
- EntityDataSourceSelectingEventArgs.cs
- DrawTreeNodeEventArgs.cs
- DrawingGroup.cs
- CompoundFileStreamReference.cs
- CustomCategoryAttribute.cs
- ChangeDirector.cs
- _LocalDataStoreMgr.cs
- DefaultAssemblyResolver.cs
- CacheVirtualItemsEvent.cs
- CompareInfo.cs
- CompilerScopeManager.cs
- UserMapPath.cs
- FaultConverter.cs
- InstallerTypeAttribute.cs
- FontInfo.cs
- CodeDirectoryCompiler.cs
- XmlAutoDetectWriter.cs
- WorkflowOperationBehavior.cs
- DataReceivedEventArgs.cs
- DropTarget.cs
- QuotedPrintableStream.cs
- JoinElimination.cs
- ObjectStateManagerMetadata.cs
- validation.cs
- Function.cs
- ObjectContextServiceProvider.cs
- SqlTypeSystemProvider.cs
- SafeNativeMethods.cs
- SettingsProperty.cs
- EventLogPermissionEntryCollection.cs
- SizeAnimationClockResource.cs