Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / NotSupportedException.cs / 1 / NotSupportedException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: NotSupportedException ** ** ** Purpose: For methods that should be implemented on subclasses. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class NotSupportedException : SystemException { public NotSupportedException() : base(Environment.GetResourceString("Arg_NotSupportedException")) { SetErrorCode(__HResults.COR_E_NOTSUPPORTED); } public NotSupportedException(String message) : base(message) { SetErrorCode(__HResults.COR_E_NOTSUPPORTED); } public NotSupportedException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_NOTSUPPORTED); } protected NotSupportedException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ConfigurationElement.cs
- DeferredRunTextReference.cs
- SaveFileDialog.cs
- FileDetails.cs
- SystemIPv6InterfaceProperties.cs
- FastEncoderStatics.cs
- IndexedSelectQueryOperator.cs
- ViewGenResults.cs
- ThrowHelper.cs
- IsolatedStorageFileStream.cs
- WebChannelFactory.cs
- Soap12ProtocolImporter.cs
- File.cs
- UrlMappingCollection.cs
- XmlSchemaSimpleType.cs
- XmlValidatingReader.cs
- PrimitiveXmlSerializers.cs
- TreeViewAutomationPeer.cs
- DefaultWorkflowSchedulerService.cs
- AlphaSortedEnumConverter.cs
- SecurityPolicySection.cs
- GridItemProviderWrapper.cs
- SectionVisual.cs
- ColumnHeader.cs
- ColorContext.cs
- ContractInferenceHelper.cs
- FixedTextPointer.cs
- TextEditorTyping.cs
- CollaborationHelperFunctions.cs
- LocalFileSettingsProvider.cs
- Label.cs
- SchemaComplexType.cs
- ObjectPropertyMapping.cs
- StateItem.cs
- DataGridViewCellEventArgs.cs
- XamlDebuggerXmlReader.cs
- HebrewNumber.cs
- StoreContentChangedEventArgs.cs
- StrokeCollectionConverter.cs
- GridEntry.cs
- FileLevelControlBuilderAttribute.cs
- FileChangesMonitor.cs
- QueryCursorEventArgs.cs
- UnsafeNativeMethods.cs
- BlurEffect.cs
- TagPrefixCollection.cs
- MasterPage.cs
- XmlSchemaSimpleContentExtension.cs
- IISMapPath.cs
- TraceSource.cs
- XhtmlTextWriter.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- ResourceExpression.cs
- Decorator.cs
- Stroke2.cs
- RoutedEvent.cs
- SamlAudienceRestrictionCondition.cs
- FixedTextSelectionProcessor.cs
- UpdateCommand.cs
- AsyncSerializedWorker.cs
- FormsAuthenticationCredentials.cs
- SqlColumnizer.cs
- MasterPage.cs
- StandardToolWindows.cs
- ValidatorCollection.cs
- UserControlBuildProvider.cs
- NetDispatcherFaultException.cs
- EncoderReplacementFallback.cs
- StreamSecurityUpgradeAcceptor.cs
- VisualStyleInformation.cs
- PrintDialog.cs
- RichTextBoxConstants.cs
- WebPartExportVerb.cs
- HierarchicalDataSourceControl.cs
- BaseProcessor.cs
- DoubleLink.cs
- ColumnMap.cs
- AssemblyBuilder.cs
- CodeStatementCollection.cs
- RadialGradientBrush.cs
- ProcessStartInfo.cs
- DataObject.cs
- Internal.cs
- RuleInfoComparer.cs
- PageClientProxyGenerator.cs
- Socket.cs
- BamlResourceSerializer.cs
- GroupedContextMenuStrip.cs
- AppearanceEditorPart.cs
- DynamicMetaObjectBinder.cs
- WebHttpElement.cs
- DSASignatureFormatter.cs
- AppSecurityManager.cs
- ForeignKeyConstraint.cs
- CookielessHelper.cs
- SchemaInfo.cs
- FileDialogPermission.cs
- TextReader.cs
- TemplateBindingExpression.cs
- X509CertificateInitiatorClientCredential.cs