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
- EndpointDiscoveryElement.cs
- ServiceInfo.cs
- IncrementalReadDecoders.cs
- _Connection.cs
- HwndSourceKeyboardInputSite.cs
- PartialCachingAttribute.cs
- ViewSimplifier.cs
- TransformerInfoCollection.cs
- FormsAuthenticationConfiguration.cs
- ContextMenuStripGroup.cs
- BookmarkEventArgs.cs
- LocatorManager.cs
- WCFServiceClientProxyGenerator.cs
- DiagnosticsConfiguration.cs
- XmlSchemaComplexType.cs
- URLAttribute.cs
- PropertyPathConverter.cs
- XmlComment.cs
- Grant.cs
- RequestCacheEntry.cs
- StrokeSerializer.cs
- CodeExporter.cs
- MarkupProperty.cs
- XmlHelper.cs
- ServiceObjectContainer.cs
- FactoryMaker.cs
- SoapMessage.cs
- ApplicationGesture.cs
- OneOfElement.cs
- DataGridViewColumn.cs
- WindowsGraphics2.cs
- WindowsGrip.cs
- HttpModulesSection.cs
- QuaternionKeyFrameCollection.cs
- CheckedPointers.cs
- IconHelper.cs
- MemoryStream.cs
- ErrorProvider.cs
- StrokeIntersection.cs
- externdll.cs
- SourceChangedEventArgs.cs
- HttpApplicationFactory.cs
- httpserverutility.cs
- Calendar.cs
- WebPartHeaderCloseVerb.cs
- WindowsContainer.cs
- RadioButtonRenderer.cs
- securitymgrsite.cs
- DataGridPageChangedEventArgs.cs
- InlinedAggregationOperator.cs
- GeometryModel3D.cs
- XPathParser.cs
- XmlNotation.cs
- WebPartHeaderCloseVerb.cs
- OdbcEnvironment.cs
- WorkflowOperationFault.cs
- AnnotationObservableCollection.cs
- OpacityConverter.cs
- DefaultPrintController.cs
- XhtmlConformanceSection.cs
- XDRSchema.cs
- mil_commands.cs
- Button.cs
- SafeSecurityHelper.cs
- SchemaAttDef.cs
- SafeLocalMemHandle.cs
- SiteMembershipCondition.cs
- HttpCapabilitiesEvaluator.cs
- x509store.cs
- ListBox.cs
- Enum.cs
- MemberNameValidator.cs
- LambdaExpression.cs
- Label.cs
- BasicViewGenerator.cs
- CheckBoxPopupAdapter.cs
- StandardBindingReliableSessionElement.cs
- TextServicesManager.cs
- ExceptionTranslationTable.cs
- EncoderExceptionFallback.cs
- HtmlElementErrorEventArgs.cs
- NamedPipeTransportSecurity.cs
- ControlAdapter.cs
- ProgressBarAutomationPeer.cs
- EncryptedXml.cs
- JobDuplex.cs
- FieldNameLookup.cs
- DesignerActionUI.cs
- StorageModelBuildProvider.cs
- MetaForeignKeyColumn.cs
- JsonUriDataContract.cs
- ChangeNode.cs
- StrokeNodeOperations.cs
- VisualBasicHelper.cs
- EntityStoreSchemaGenerator.cs
- DataListItem.cs
- SurrogateDataContract.cs
- ListViewHitTestInfo.cs
- PageFunction.cs
- securitycriticaldataformultiplegetandset.cs