Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // 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) { } } } // 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
- SessionStateContainer.cs
- StackBuilderSink.cs
- SqlMethodAttribute.cs
- FontSource.cs
- FocusTracker.cs
- ReadOnlyCollectionBase.cs
- Substitution.cs
- DataControlHelper.cs
- XmlSchemaAnnotation.cs
- DictionaryContent.cs
- FileDialogCustomPlacesCollection.cs
- DataControlFieldCollection.cs
- WindowsImpersonationContext.cs
- Form.cs
- WebReference.cs
- BindingCollection.cs
- Bits.cs
- FileCodeGroup.cs
- AQNBuilder.cs
- ExpressionStringBuilder.cs
- SqlNotificationRequest.cs
- ItemChangedEventArgs.cs
- StateRuntime.cs
- XmlConverter.cs
- filewebresponse.cs
- NativeCompoundFileAPIs.cs
- ItemCollectionEditor.cs
- BrowsableAttribute.cs
- UInt64Converter.cs
- DiagnosticTrace.cs
- SiteMapNodeItemEventArgs.cs
- FileLoadException.cs
- XPathMultyIterator.cs
- WebConfigurationHostFileChange.cs
- RelationshipNavigation.cs
- TargetInvocationException.cs
- XmlQueryCardinality.cs
- DynamicRenderer.cs
- SystemTcpConnection.cs
- JsonQNameDataContract.cs
- EventWaitHandleSecurity.cs
- BitmapEffectCollection.cs
- ErrorTableItemStyle.cs
- IndexedString.cs
- DateTimeOffset.cs
- TransformValueSerializer.cs
- HMACRIPEMD160.cs
- CultureTableRecord.cs
- SplitterCancelEvent.cs
- ResXResourceSet.cs
- SudsParser.cs
- MembershipValidatePasswordEventArgs.cs
- Events.cs
- ControlPaint.cs
- PersonalizationProvider.cs
- ImageIndexConverter.cs
- SafeEventLogReadHandle.cs
- LocatorBase.cs
- HMACSHA512.cs
- URL.cs
- SafeProcessHandle.cs
- TrackingCondition.cs
- HiddenFieldPageStatePersister.cs
- ComplexType.cs
- LineProperties.cs
- IteratorAsyncResult.cs
- OperatingSystem.cs
- OutputCacheSettingsSection.cs
- DataListItemEventArgs.cs
- Point4D.cs
- DataGridViewRowCollection.cs
- Point3DAnimation.cs
- ParameterRetriever.cs
- GlyphRunDrawing.cs
- VisualTransition.cs
- PathNode.cs
- XPathNodeList.cs
- Rotation3DAnimationBase.cs
- PagedDataSource.cs
- TaskForm.cs
- DataFormat.cs
- TreeNode.cs
- SerialReceived.cs
- ObjectTypeMapping.cs
- SimpleWebHandlerParser.cs
- DispatcherFrame.cs
- ClientEventManager.cs
- GlobalizationAssembly.cs
- FixedSOMContainer.cs
- XamlTreeBuilderBamlRecordWriter.cs
- TraceContextRecord.cs
- DataGridViewCellCancelEventArgs.cs
- ProxyWebPartManager.cs
- EncoderFallback.cs
- EntityWrapper.cs
- SimpleFileLog.cs
- ConfigUtil.cs
- FontWeight.cs
- BasicKeyConstraint.cs
- DropShadowBitmapEffect.cs