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
- ConfigXmlWhitespace.cs
- HashJoinQueryOperatorEnumerator.cs
- QilPatternVisitor.cs
- Padding.cs
- securitymgrsite.cs
- CacheAxisQuery.cs
- CodeArrayCreateExpression.cs
- ActivityCodeDomSerializer.cs
- VersionPair.cs
- NativeMethodsCLR.cs
- ManagementPath.cs
- ScrollableControl.cs
- Bold.cs
- _Rfc2616CacheValidators.cs
- CellRelation.cs
- SafeHandles.cs
- MobileRedirect.cs
- CodeDelegateInvokeExpression.cs
- MobileListItem.cs
- SelectedGridItemChangedEvent.cs
- NullableIntMinMaxAggregationOperator.cs
- JsonSerializer.cs
- MembershipSection.cs
- ExclusiveNamedPipeTransportManager.cs
- WaitHandle.cs
- TextOnlyOutput.cs
- NestedContainer.cs
- XmlNamespaceManager.cs
- HttpWrapper.cs
- EventWaitHandle.cs
- UnsafeNativeMethods.cs
- GlyphInfoList.cs
- TreeViewItemAutomationPeer.cs
- TabControlEvent.cs
- FormViewPagerRow.cs
- PasswordBoxAutomationPeer.cs
- Context.cs
- COM2AboutBoxPropertyDescriptor.cs
- OleDbError.cs
- PathGradientBrush.cs
- ObjectSecurity.cs
- SqlDuplicator.cs
- BaseTypeViewSchema.cs
- GenericQueueSurrogate.cs
- ParentUndoUnit.cs
- _LocalDataStoreMgr.cs
- WindowInteractionStateTracker.cs
- ServiceDescriptionData.cs
- SqlDataSourceView.cs
- XmlSequenceWriter.cs
- CornerRadiusConverter.cs
- DataGridBoolColumn.cs
- TypeHelper.cs
- EventHandlerList.cs
- ExtendedPropertyCollection.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- CodeDirectionExpression.cs
- ConvertEvent.cs
- FontEmbeddingManager.cs
- Stroke.cs
- BaseCodeDomTreeGenerator.cs
- DbCommandDefinition.cs
- NetTcpSecurityElement.cs
- ConfigurationFileMap.cs
- XmlDocumentFragment.cs
- _HelperAsyncResults.cs
- ICspAsymmetricAlgorithm.cs
- CultureTable.cs
- HelloMessageApril2005.cs
- ModuleElement.cs
- ZipIOLocalFileDataDescriptor.cs
- CompilerScopeManager.cs
- ItemDragEvent.cs
- ExtendedProtectionPolicy.cs
- TcpClientChannel.cs
- ChannelSinkStacks.cs
- HttpHostedTransportConfiguration.cs
- SqlClientPermission.cs
- ColumnMapProcessor.cs
- XmlBufferedByteStreamReader.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ProfileGroupSettingsCollection.cs
- PropertyValueEditor.cs
- ContentDisposition.cs
- SymmetricAlgorithm.cs
- GridViewSelectEventArgs.cs
- SelectedGridItemChangedEvent.cs
- _NTAuthentication.cs
- BitmapEffectvisualstate.cs
- _emptywebproxy.cs
- DataGridViewComponentPropertyGridSite.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- StatusBarPanel.cs
- ProfilePropertySettings.cs
- OracleRowUpdatedEventArgs.cs
- KeyPressEvent.cs
- JobPageOrder.cs
- MenuAdapter.cs
- ListViewItem.cs
- Switch.cs