Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / PlatformNotSupportedException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- MaskedTextProvider.cs
- ObjectSpanRewriter.cs
- ItemContainerProviderWrapper.cs
- TextDpi.cs
- RegexGroup.cs
- ColumnWidthChangedEvent.cs
- formatter.cs
- SweepDirectionValidation.cs
- SimpleMailWebEventProvider.cs
- PackageDigitalSignature.cs
- DataViewSetting.cs
- WindowsIPAddress.cs
- CompleteWizardStep.cs
- WsatConfiguration.cs
- TextTreeFixupNode.cs
- ValueQuery.cs
- SettingsProviderCollection.cs
- FixedSOMSemanticBox.cs
- DecoderExceptionFallback.cs
- PowerEase.cs
- CommandField.cs
- XmlSchemaAll.cs
- DES.cs
- PieceNameHelper.cs
- TranslateTransform.cs
- ArgumentException.cs
- WebErrorHandler.cs
- ELinqQueryState.cs
- SafeThreadHandle.cs
- HashCodeCombiner.cs
- ChameleonKey.cs
- IssuedTokenClientBehaviorsElement.cs
- SystemParameters.cs
- RenderDataDrawingContext.cs
- CheckBoxPopupAdapter.cs
- ToolStripKeyboardHandlingService.cs
- Msec.cs
- InternalResources.cs
- SymmetricSecurityBindingElement.cs
- KeyedCollection.cs
- ClientScriptManagerWrapper.cs
- FrameworkPropertyMetadata.cs
- ResourceReferenceKeyNotFoundException.cs
- Crc32.cs
- ModulesEntry.cs
- RepeaterCommandEventArgs.cs
- ToggleButtonAutomationPeer.cs
- RemoteDebugger.cs
- DataGridTableStyleMappingNameEditor.cs
- Volatile.cs
- RelAssertionDirectKeyIdentifierClause.cs
- SQLUtility.cs
- BindingManagerDataErrorEventArgs.cs
- GradientBrush.cs
- UInt16Converter.cs
- SessionIDManager.cs
- Tablet.cs
- RepeaterItemCollection.cs
- JournalEntryStack.cs
- SqlConnectionHelper.cs
- FastEncoder.cs
- CqlLexer.cs
- XmlIterators.cs
- DBConnection.cs
- LayoutEvent.cs
- TaiwanLunisolarCalendar.cs
- SchemaMapping.cs
- PackageRelationshipCollection.cs
- TableLayoutCellPaintEventArgs.cs
- DbQueryCommandTree.cs
- FlowDocumentPage.cs
- SmiContextFactory.cs
- CroppedBitmap.cs
- TextUtf8RawTextWriter.cs
- ServiceDiscoveryElement.cs
- Base64Encoder.cs
- OutputScopeManager.cs
- CSharpCodeProvider.cs
- GeneralTransform3DTo2D.cs
- Accessible.cs
- XmlILAnnotation.cs
- BooleanConverter.cs
- ReadOnlyDictionary.cs
- MouseOverProperty.cs
- WebConfigurationHostFileChange.cs
- ComMethodElementCollection.cs
- SmtpReplyReaderFactory.cs
- ResourceKey.cs
- InternalConfigSettingsFactory.cs
- FacetDescriptionElement.cs
- LinqDataSourceSelectEventArgs.cs
- SplitterEvent.cs
- WeakRefEnumerator.cs
- EntityViewGenerationAttribute.cs
- TitleStyle.cs
- WorkflowRuntimeServiceElement.cs
- DataBoundLiteralControl.cs
- MailMessage.cs
- EncodingNLS.cs
- WmlTextBoxAdapter.cs