Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- CodeArrayCreateExpression.cs
- XmlDocumentSerializer.cs
- SerialPort.cs
- ServiceReflector.cs
- RecognizedWordUnit.cs
- ProviderUtil.cs
- Soap.cs
- BoolExpr.cs
- InstanceNameConverter.cs
- ToolStripSystemRenderer.cs
- GlyphShapingProperties.cs
- RtfFormatStack.cs
- Message.cs
- LogicalTreeHelper.cs
- SchemaElementDecl.cs
- hresults.cs
- WebPartAuthorizationEventArgs.cs
- RecipientInfo.cs
- WhereaboutsReader.cs
- RecordConverter.cs
- AddInAttribute.cs
- ProcessHost.cs
- XmlCountingReader.cs
- IFlowDocumentViewer.cs
- WindowsBrush.cs
- ClientRoleProvider.cs
- MsmqPoisonMessageException.cs
- LoginView.cs
- BinaryNegotiation.cs
- RsaSecurityKey.cs
- SaveFileDialog.cs
- StatusBar.cs
- EmbeddedObject.cs
- DBPropSet.cs
- SchemaNames.cs
- FlowchartDesignerCommands.cs
- StandardToolWindows.cs
- rsa.cs
- ReachPageContentSerializerAsync.cs
- IInstanceTable.cs
- StringUtil.cs
- CheckPair.cs
- PrePostDescendentsWalker.cs
- InputReferenceExpression.cs
- PriorityBindingExpression.cs
- ProtocolsConfiguration.cs
- ObjectSet.cs
- TimeoutValidationAttribute.cs
- EndpointDiscoveryMetadata.cs
- ExecutionContext.cs
- MeasureItemEvent.cs
- SmiEventStream.cs
- _ChunkParse.cs
- isolationinterop.cs
- WebChannelFactory.cs
- GridViewRowCollection.cs
- RangeBase.cs
- EntityDataSourceChangedEventArgs.cs
- PropertyGridCommands.cs
- GlobalizationSection.cs
- StatusStrip.cs
- assertwrapper.cs
- dsa.cs
- activationcontext.cs
- StorageEntityTypeMapping.cs
- SoapTypeAttribute.cs
- LayoutInformation.cs
- FixedStringLookup.cs
- Empty.cs
- SingleResultAttribute.cs
- SortedList.cs
- DynamicEndpointElement.cs
- IPipelineRuntime.cs
- AxHost.cs
- CurrentChangingEventArgs.cs
- FirstQueryOperator.cs
- DocumentPageHost.cs
- InstanceNotReadyException.cs
- TrackingDataItem.cs
- Message.cs
- TreeView.cs
- XPathNodeIterator.cs
- WebDescriptionAttribute.cs
- CharStorage.cs
- ValidationErrorCollection.cs
- SettingsPropertyValue.cs
- SqlConnectionHelper.cs
- ReachSerializableProperties.cs
- PaperSize.cs
- IDispatchConstantAttribute.cs
- IdnMapping.cs
- ClientApiGenerator.cs
- XmlSecureResolver.cs
- ExpandSegmentCollection.cs
- StorageAssociationTypeMapping.cs
- ContentFileHelper.cs
- QilReference.cs
- InheritanceContextHelper.cs
- UserCancellationException.cs
- StringReader.cs