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
- DecoderNLS.cs
- MappingModelBuildProvider.cs
- DataGridViewControlCollection.cs
- DataList.cs
- WindowsMenu.cs
- GatewayDefinition.cs
- ResolveInfo.cs
- DataPagerCommandEventArgs.cs
- GlobalEventManager.cs
- HtmlGenericControl.cs
- Visual3DCollection.cs
- EventTrigger.cs
- XmlSchemaSimpleTypeList.cs
- ProgressBarRenderer.cs
- Column.cs
- DataKeyPropertyAttribute.cs
- InputScope.cs
- RequestCacheEntry.cs
- InstanceKeyView.cs
- TransformDescriptor.cs
- HiddenField.cs
- PngBitmapEncoder.cs
- GetPageNumberCompletedEventArgs.cs
- MouseWheelEventArgs.cs
- SoapEnumAttribute.cs
- KnownColorTable.cs
- FrameworkContentElementAutomationPeer.cs
- SourceCollection.cs
- QilGeneratorEnv.cs
- InputBuffer.cs
- BypassElement.cs
- DeclaredTypeElement.cs
- MailDefinition.cs
- RoleGroup.cs
- ScrollPatternIdentifiers.cs
- OptimalTextSource.cs
- ProfileGroupSettingsCollection.cs
- RuntimeComponentFilter.cs
- SignatureResourceHelper.cs
- HostedBindingBehavior.cs
- Double.cs
- OdbcDataAdapter.cs
- FactoryRecord.cs
- SortFieldComparer.cs
- EventHandlers.cs
- PresentationAppDomainManager.cs
- ResourcesChangeInfo.cs
- DynamicValidatorEventArgs.cs
- CacheVirtualItemsEvent.cs
- PartitionedStreamMerger.cs
- ShaderRenderModeValidation.cs
- HebrewNumber.cs
- Command.cs
- MLangCodePageEncoding.cs
- FormViewDeleteEventArgs.cs
- ListItemCollection.cs
- RoutedUICommand.cs
- CodeCompiler.cs
- SecuritySessionSecurityTokenAuthenticator.cs
- XmlDocumentSerializer.cs
- GridViewCommandEventArgs.cs
- GACMembershipCondition.cs
- ConnectionManagementSection.cs
- SamlAuthorizationDecisionClaimResource.cs
- CodeRemoveEventStatement.cs
- newinstructionaction.cs
- XmlSchemaType.cs
- Panel.cs
- FlowDocumentFormatter.cs
- Cursor.cs
- Matrix3D.cs
- BindingNavigator.cs
- WmlCommandAdapter.cs
- DrawingCollection.cs
- HttpSysSettings.cs
- TypeCodeDomSerializer.cs
- DataViewListener.cs
- namescope.cs
- HttpWebResponse.cs
- RegexWorker.cs
- SQLGuidStorage.cs
- LeafCellTreeNode.cs
- MenuAutomationPeer.cs
- DefaultTextStoreTextComposition.cs
- FontInfo.cs
- Stack.cs
- Constraint.cs
- BitmapEffectInput.cs
- DetailsView.cs
- COM2ExtendedTypeConverter.cs
- Polygon.cs
- Point4DValueSerializer.cs
- SafeBitVector32.cs
- IPipelineRuntime.cs
- TailPinnedEventArgs.cs
- AssemblyBuilder.cs
- ImageField.cs
- Vector3D.cs
- TransformerConfigurationWizardBase.cs
- IconBitmapDecoder.cs