Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / InvalidOperationException.cs / 1 / InvalidOperationException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: InvalidOperationException ** ** ** Purpose: Exception class for denoting an object was in a state that ** made calling a method illegal. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class InvalidOperationException : SystemException { public InvalidOperationException() : base(Environment.GetResourceString("Arg_InvalidOperationException")) { SetErrorCode(__HResults.COR_E_INVALIDOPERATION); } public InvalidOperationException(String message) : base(message) { SetErrorCode(__HResults.COR_E_INVALIDOPERATION); } public InvalidOperationException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_INVALIDOPERATION); } protected InvalidOperationException(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: InvalidOperationException ** ** ** Purpose: Exception class for denoting an object was in a state that ** made calling a method illegal. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class InvalidOperationException : SystemException { public InvalidOperationException() : base(Environment.GetResourceString("Arg_InvalidOperationException")) { SetErrorCode(__HResults.COR_E_INVALIDOPERATION); } public InvalidOperationException(String message) : base(message) { SetErrorCode(__HResults.COR_E_INVALIDOPERATION); } public InvalidOperationException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_INVALIDOPERATION); } protected InvalidOperationException(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
- NavigatorInput.cs
- GenerateTemporaryTargetAssembly.cs
- ThreadSafeList.cs
- SettingsAttributes.cs
- SystemIPv4InterfaceProperties.cs
- ITextView.cs
- IndentedTextWriter.cs
- mongolianshape.cs
- StorageRoot.cs
- WebPartEditorCancelVerb.cs
- EditorPart.cs
- DBDataPermissionAttribute.cs
- HwndKeyboardInputProvider.cs
- Condition.cs
- IntSecurity.cs
- Regex.cs
- ValidatingPropertiesEventArgs.cs
- XmlUrlResolver.cs
- ClientSettingsStore.cs
- IItemProperties.cs
- DataSet.cs
- SocketPermission.cs
- updateconfighost.cs
- DefaultValidator.cs
- Stack.cs
- InsufficientMemoryException.cs
- XmlQualifiedNameTest.cs
- OutputCacheSettingsSection.cs
- SafeEventLogWriteHandle.cs
- TextFormatterContext.cs
- TextParentUndoUnit.cs
- SafeSystemMetrics.cs
- EncryptedPackageFilter.cs
- RotateTransform3D.cs
- SemanticResolver.cs
- DataRowComparer.cs
- SQLInt32Storage.cs
- XmlConvert.cs
- OdbcDataReader.cs
- MouseWheelEventArgs.cs
- Effect.cs
- VerificationAttribute.cs
- ContentControl.cs
- ValidatorCompatibilityHelper.cs
- RegexInterpreter.cs
- XmlFileEditor.cs
- XmlDataSourceNodeDescriptor.cs
- ValidateNames.cs
- FontStyle.cs
- WrappedDispatcherException.cs
- FrameworkObject.cs
- MetadataPropertyvalue.cs
- OpCodes.cs
- KnownTypesProvider.cs
- ToggleButton.cs
- StandardBindingCollectionElement.cs
- RegionData.cs
- FontSizeConverter.cs
- RawStylusInputCustomDataList.cs
- SupportingTokenProviderSpecification.cs
- OleDbParameterCollection.cs
- TextMarkerSource.cs
- ConfigXmlSignificantWhitespace.cs
- XmlSerializableReader.cs
- SynchronizedDispatch.cs
- CalendarModeChangedEventArgs.cs
- InternalBufferManager.cs
- CssClassPropertyAttribute.cs
- CodeEventReferenceExpression.cs
- DataBinding.cs
- XsltArgumentList.cs
- CSharpCodeProvider.cs
- Listener.cs
- ContextProperty.cs
- MethodExpr.cs
- DataViewSettingCollection.cs
- InputEventArgs.cs
- GacUtil.cs
- RadioButton.cs
- UInt32Converter.cs
- AsyncResult.cs
- WebPartZoneCollection.cs
- ResourceDescriptionAttribute.cs
- BamlMapTable.cs
- GridViewSortEventArgs.cs
- IteratorFilter.cs
- ChannelSinkStacks.cs
- MemberRelationshipService.cs
- CellLabel.cs
- CodeArrayCreateExpression.cs
- ClassHandlersStore.cs
- KeyTimeConverter.cs
- AxWrapperGen.cs
- VisualStateChangedEventArgs.cs
- CodeGotoStatement.cs
- FixedBufferAttribute.cs
- ScriptControlManager.cs
- BaseTemplateCodeDomTreeGenerator.cs
- FixedPageStructure.cs
- BoundField.cs