Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / InvalidOperationException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- ModifierKeysConverter.cs
- ReadWriteSpinLock.cs
- PtsPage.cs
- _LoggingObject.cs
- RoutedEvent.cs
- GroupItem.cs
- DataGridViewCellStyleConverter.cs
- CodeCompiler.cs
- ResourceContainerWrapper.cs
- BrushMappingModeValidation.cs
- LayoutUtils.cs
- ContainerFilterService.cs
- TagNameToTypeMapper.cs
- RequestSecurityToken.cs
- DBCommandBuilder.cs
- DbBuffer.cs
- CodeMemberProperty.cs
- BaseCollection.cs
- HierarchicalDataBoundControl.cs
- ColumnHeader.cs
- DataSourceUtil.cs
- InputProcessorProfilesLoader.cs
- ClosureBinding.cs
- WebServiceHandler.cs
- RenderData.cs
- PolyBezierSegment.cs
- AcceptorSessionSymmetricTransportSecurityProtocol.cs
- COM2IDispatchConverter.cs
- BrowserCapabilitiesCompiler.cs
- DiffuseMaterial.cs
- FormsAuthenticationCredentials.cs
- EmissiveMaterial.cs
- clipboard.cs
- ExtendedProperty.cs
- StrokeCollection.cs
- _FixedSizeReader.cs
- OpenFileDialog.cs
- MenuAdapter.cs
- DataGridCommandEventArgs.cs
- BooleanSwitch.cs
- ServicePerformanceCounters.cs
- RowsCopiedEventArgs.cs
- EventEntry.cs
- OutKeywords.cs
- TreeViewEvent.cs
- LayoutTableCell.cs
- CompilerHelpers.cs
- Utils.cs
- documentsequencetextview.cs
- ExternalException.cs
- ExecutorLocksHeldException.cs
- TimeSpan.cs
- InputMethod.cs
- SiteMapPathDesigner.cs
- DataServiceStreamResponse.cs
- ObjectDataSourceMethodEventArgs.cs
- PatternMatcher.cs
- AttributeCollection.cs
- EntityDataSourceReferenceGroup.cs
- SspiSafeHandles.cs
- ProgressiveCrcCalculatingStream.cs
- DataGridCell.cs
- MulticastOption.cs
- AnonymousIdentificationModule.cs
- ZoneMembershipCondition.cs
- BamlBinaryReader.cs
- ValidatorCompatibilityHelper.cs
- DomNameTable.cs
- WindowsButton.cs
- QuaternionIndependentAnimationStorage.cs
- XmlSchemaExporter.cs
- ContextMenuAutomationPeer.cs
- TreeViewCancelEvent.cs
- ISFClipboardData.cs
- ToolboxComponentsCreatedEventArgs.cs
- GeometryModel3D.cs
- BehaviorEditorPart.cs
- HebrewNumber.cs
- Point.cs
- AspCompat.cs
- XmlText.cs
- OdbcConnectionOpen.cs
- SurrogateSelector.cs
- LockCookie.cs
- PropertiesTab.cs
- SchemaImporterExtensionsSection.cs
- PrimitiveDataContract.cs
- ButtonField.cs
- TaskSchedulerException.cs
- SpecialNameAttribute.cs
- ObjectDataProvider.cs
- RoleManagerModule.cs
- OdbcEnvironment.cs
- ControlCachePolicy.cs
- Serializer.cs
- PagesChangedEventArgs.cs
- StatusBarAutomationPeer.cs
- SyndicationCategory.cs
- XamlWriter.cs
- PhoneCallDesigner.cs