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
- TPLETWProvider.cs
- TextRangeSerialization.cs
- TemplateKey.cs
- Queue.cs
- Authorization.cs
- AutomationPatternInfo.cs
- InkCanvasInnerCanvas.cs
- CompilationSection.cs
- CoreSwitches.cs
- FileSystemWatcher.cs
- DataGridViewUtilities.cs
- PlatformNotSupportedException.cs
- TrustSection.cs
- XslAstAnalyzer.cs
- HeaderUtility.cs
- GenericAuthenticationEventArgs.cs
- MethodToken.cs
- UnmanagedMemoryStreamWrapper.cs
- ExpressionBuilderContext.cs
- SoapSchemaImporter.cs
- SrgsSemanticInterpretationTag.cs
- PriorityBindingExpression.cs
- VerticalAlignConverter.cs
- DockPattern.cs
- MasterPageParser.cs
- TableProviderWrapper.cs
- ToolTipService.cs
- DocumentApplicationJournalEntryEventArgs.cs
- ThreadWorkerController.cs
- NonDualMessageSecurityOverHttp.cs
- SQLUtility.cs
- Brush.cs
- BufferedOutputAsyncStream.cs
- SharedStream.cs
- IgnoreSection.cs
- RegistryConfigurationProvider.cs
- regiisutil.cs
- HeaderCollection.cs
- DbConnectionHelper.cs
- GeneratedCodeAttribute.cs
- MenuItemCollectionEditor.cs
- METAHEADER.cs
- RepeatButton.cs
- WinFormsSpinner.cs
- GridViewRowEventArgs.cs
- DigestTraceRecordHelper.cs
- RectAnimationUsingKeyFrames.cs
- NativeMethods.cs
- NativeRightsManagementAPIsStructures.cs
- BezierSegment.cs
- SchemaNames.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- OrthographicCamera.cs
- FrameworkRichTextComposition.cs
- CheckBoxList.cs
- MemoryResponseElement.cs
- HttpModulesSection.cs
- PrimaryKeyTypeConverter.cs
- Hash.cs
- Trigger.cs
- IncrementalReadDecoders.cs
- StartUpEventArgs.cs
- LongPath.cs
- IdentityReference.cs
- UseManagedPresentationBindingElementImporter.cs
- PassportAuthenticationEventArgs.cs
- TextTreeRootTextBlock.cs
- DocumentPageViewAutomationPeer.cs
- StylusTouchDevice.cs
- TimeManager.cs
- CheckBox.cs
- SelectionRangeConverter.cs
- GroupBox.cs
- BitmapSource.cs
- QueryMatcher.cs
- FlowLayout.cs
- nulltextnavigator.cs
- LineBreakRecord.cs
- ConstraintEnumerator.cs
- configsystem.cs
- QuotedPairReader.cs
- CodeDirectoryCompiler.cs
- SecurityTokenRequirement.cs
- ConfigurationStrings.cs
- References.cs
- IgnorePropertiesAttribute.cs
- ModulesEntry.cs
- ArgumentValidation.cs
- HandlerWithFactory.cs
- _ListenerAsyncResult.cs
- SafeNativeMethods.cs
- Camera.cs
- SqlDataSourceConfigureSortForm.cs
- ZipIOModeEnforcingStream.cs
- MetadataArtifactLoaderComposite.cs
- Error.cs
- HttpResponse.cs
- TypeViewSchema.cs
- ButtonBaseAutomationPeer.cs
- Rect3D.cs