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
- PerfService.cs
- StyleSheetDesigner.cs
- LinqDataView.cs
- VariantWrapper.cs
- TextServicesManager.cs
- BypassElementCollection.cs
- XmlMembersMapping.cs
- TreeNode.cs
- TransformationRules.cs
- Label.cs
- XomlCompilerResults.cs
- BooleanSwitch.cs
- SerTrace.cs
- _emptywebproxy.cs
- OpenTypeCommon.cs
- WindowsFormsHostPropertyMap.cs
- HtmlLinkAdapter.cs
- ObjectConverter.cs
- DesignTimeTemplateParser.cs
- XmlDataImplementation.cs
- InputMethodStateTypeInfo.cs
- EventLog.cs
- FilteredAttributeCollection.cs
- DayRenderEvent.cs
- _ListenerAsyncResult.cs
- RawStylusInputReport.cs
- ApplicationContext.cs
- UIElementParaClient.cs
- DocumentGrid.cs
- ReflectTypeDescriptionProvider.cs
- LabelDesigner.cs
- CapabilitiesRule.cs
- DateTimeValueSerializer.cs
- TextMetrics.cs
- XPathMultyIterator.cs
- OpenCollectionAsyncResult.cs
- InputScope.cs
- CacheOutputQuery.cs
- Vector3DAnimation.cs
- ReplacementText.cs
- ComplexLine.cs
- ControlBuilder.cs
- PeerEndPoint.cs
- assemblycache.cs
- UnsafeCollabNativeMethods.cs
- PageThemeParser.cs
- Control.cs
- WhileDesigner.xaml.cs
- TextContainerChangeEventArgs.cs
- ReferencedCollectionType.cs
- JavascriptCallbackBehaviorAttribute.cs
- ByteBufferPool.cs
- smtppermission.cs
- x509store.cs
- TraceSection.cs
- RelationalExpressions.cs
- ObjectNavigationPropertyMapping.cs
- DoubleAnimationClockResource.cs
- PrinterUnitConvert.cs
- WebBodyFormatMessageProperty.cs
- EmbeddedObject.cs
- ProtocolsConfigurationHandler.cs
- Stack.cs
- WindowsFormsSynchronizationContext.cs
- StructuredTypeEmitter.cs
- SamlAuthorizationDecisionStatement.cs
- EmissiveMaterial.cs
- ZipArchive.cs
- GridViewAutomationPeer.cs
- PostBackOptions.cs
- EncryptedHeader.cs
- MessagePropertyVariants.cs
- WebFormsRootDesigner.cs
- TraceEventCache.cs
- TableParagraph.cs
- XmlnsCache.cs
- SourceFilter.cs
- DbProviderServices.cs
- followingsibling.cs
- TextElement.cs
- StringDictionaryCodeDomSerializer.cs
- embossbitmapeffect.cs
- PreservationFileReader.cs
- ParameterElement.cs
- StringArrayConverter.cs
- LogLogRecord.cs
- NetworkCredential.cs
- MaterializeFromAtom.cs
- ThreadStateException.cs
- JavaScriptString.cs
- HealthMonitoringSectionHelper.cs
- SoapEnvelopeProcessingElement.cs
- HttpRuntime.cs
- PointAnimationUsingKeyFrames.cs
- Merger.cs
- COM2PropertyBuilderUITypeEditor.cs
- SafeMemoryMappedViewHandle.cs
- DataListCommandEventArgs.cs
- VirtualPathProvider.cs
- AccessorTable.cs