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
- SerTrace.cs
- ImageIndexConverter.cs
- SystemIPGlobalStatistics.cs
- GlyphManager.cs
- AxisAngleRotation3D.cs
- JsonEncodingStreamWrapper.cs
- XmlQualifiedName.cs
- DataGridViewCellStyleChangedEventArgs.cs
- Keyboard.cs
- RuleSetReference.cs
- UrlMappingsModule.cs
- FixedHighlight.cs
- HttpProxyTransportBindingElement.cs
- CacheMemory.cs
- ToolStripPanelRenderEventArgs.cs
- followingquery.cs
- QueryCacheManager.cs
- SetterBaseCollection.cs
- DoubleSumAggregationOperator.cs
- ValueUtilsSmi.cs
- Variable.cs
- AliasExpr.cs
- GridErrorDlg.cs
- AppDomainProtocolHandler.cs
- TextServicesLoader.cs
- TableRow.cs
- BitmapFrame.cs
- DocComment.cs
- WarningException.cs
- ExceptionUtil.cs
- AppearanceEditorPart.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- KerberosSecurityTokenAuthenticator.cs
- InstanceDataCollectionCollection.cs
- XmlSchemaImporter.cs
- ResolveCriteria.cs
- SubstitutionList.cs
- SettingsPropertyIsReadOnlyException.cs
- DeviceFilterEditorDialog.cs
- PropertyIdentifier.cs
- Matrix.cs
- XmlNodeChangedEventArgs.cs
- DecoderNLS.cs
- ValidateNames.cs
- MethodImplAttribute.cs
- SamlSerializer.cs
- FileChangeNotifier.cs
- ConnectionStringsExpressionBuilder.cs
- ScriptIgnoreAttribute.cs
- WebScriptMetadataInstanceContextProvider.cs
- TypedElement.cs
- XmlSchemaImport.cs
- ParseNumbers.cs
- DataGridColumnCollection.cs
- DataGridCommandEventArgs.cs
- IHttpResponseInternal.cs
- BlockUIContainer.cs
- _DigestClient.cs
- ResXResourceReader.cs
- CommonProperties.cs
- ViewValidator.cs
- StructuralType.cs
- EventHandlerService.cs
- StylusPoint.cs
- FunctionNode.cs
- LZCodec.cs
- FlowLayoutPanel.cs
- SchemaMerger.cs
- GeneralTransform3DGroup.cs
- complextypematerializer.cs
- EditorZoneBase.cs
- BaseInfoTable.cs
- HttpDebugHandler.cs
- MembershipValidatePasswordEventArgs.cs
- OpCopier.cs
- _TimerThread.cs
- CurrentTimeZone.cs
- TextBlockAutomationPeer.cs
- SystemInfo.cs
- SqlTriggerContext.cs
- SchemaObjectWriter.cs
- ValidationError.cs
- CookieParameter.cs
- DesignTimeVisibleAttribute.cs
- ToolStripAdornerWindowService.cs
- SingleAnimation.cs
- ClientUtils.cs
- DnsPermission.cs
- XpsDocument.cs
- GatewayIPAddressInformationCollection.cs
- WebProxyScriptElement.cs
- basenumberconverter.cs
- HtmlWindowCollection.cs
- NativeMethods.cs
- DataTable.cs
- UTF7Encoding.cs
- MessageLoggingElement.cs
- DocumentApplicationJournalEntry.cs
- Operator.cs
- UnconditionalPolicy.cs