Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlDataSourceParameterParser.cs
- SqlAliaser.cs
- COAUTHIDENTITY.cs
- MetadataCache.cs
- RequestSecurityToken.cs
- XmlProcessingInstruction.cs
- Bidi.cs
- HtmlGenericControl.cs
- Win32Exception.cs
- FrugalMap.cs
- AutomationAttributeInfo.cs
- ISAPIRuntime.cs
- WsiProfilesElementCollection.cs
- RoleManagerEventArgs.cs
- FlagsAttribute.cs
- PcmConverter.cs
- Overlapped.cs
- SafeSecurityHelper.cs
- GeneralTransformGroup.cs
- XmlLanguageConverter.cs
- SiteMapProvider.cs
- WriteableOnDemandPackagePart.cs
- FormatterConverter.cs
- NodeInfo.cs
- BaseTreeIterator.cs
- AncestorChangedEventArgs.cs
- PageResolution.cs
- CompositeFontInfo.cs
- UseLicense.cs
- SqlFileStream.cs
- Stylus.cs
- ConfigurationLocation.cs
- PageContentCollection.cs
- BindStream.cs
- DataBoundControlAdapter.cs
- WorkflowWebHostingModule.cs
- StringWriter.cs
- CustomValidator.cs
- Stack.cs
- TextPattern.cs
- ReachObjectContext.cs
- EdmComplexTypeAttribute.cs
- IDReferencePropertyAttribute.cs
- LeafCellTreeNode.cs
- TreeSet.cs
- ServiceNameElement.cs
- ReadOnlyObservableCollection.cs
- SignatureHelper.cs
- TransportConfigurationTypeElement.cs
- ReachPageContentCollectionSerializer.cs
- CompModSwitches.cs
- uribuilder.cs
- PrincipalPermission.cs
- XmlSerializerFormatAttribute.cs
- FormViewPagerRow.cs
- FlowDocumentView.cs
- RangeValueProviderWrapper.cs
- JsonFormatGeneratorStatics.cs
- OptimizerPatterns.cs
- DrawListViewColumnHeaderEventArgs.cs
- ImageSourceConverter.cs
- AttributeCollection.cs
- SamlAction.cs
- HTMLTagNameToTypeMapper.cs
- InputLanguageManager.cs
- infer.cs
- WhitespaceSignificantCollectionAttribute.cs
- SafeViewOfFileHandle.cs
- DataGridHeaderBorder.cs
- SignatureResourcePool.cs
- ObjectDataSourceFilteringEventArgs.cs
- WindowVisualStateTracker.cs
- Debug.cs
- HttpProcessUtility.cs
- OSEnvironmentHelper.cs
- SQLChars.cs
- SafeProcessHandle.cs
- AdornedElementPlaceholder.cs
- FormatterServices.cs
- Identity.cs
- ProvidePropertyAttribute.cs
- AuthorizationSection.cs
- ItemType.cs
- EnvelopeVersion.cs
- RuntimeUtils.cs
- Tracer.cs
- KeyValueInternalCollection.cs
- CFStream.cs
- ObjectSerializerFactory.cs
- MatrixTransform.cs
- NameNode.cs
- ShaderEffect.cs
- PostBackTrigger.cs
- Logging.cs
- ScrollChrome.cs
- DecoderFallbackWithFailureFlag.cs
- GeneralTransform.cs
- BufferAllocator.cs
- FixedSOMElement.cs
- HtmlShim.cs