Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / Util / hresults.cs / 1 / hresults.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Util { // Note: FACILITY_URT is defined as 0x13 (0x8013xxxx). Within that // range, 0x1yyy is for Runtime errors (used for Security, Metadata, etc). // In that subrange, 0x15zz and 0x16zz have been allocated for classlib-type // HResults. Also note that some of our HResults have to map to certain // COM HR's, etc. internal sealed class HResults { internal const int S_OK = 0; internal const int E_NOTIMPL = unchecked((int)0x80004001); internal const int E_POINTER = unchecked((int)0x80004003); internal const int E_FAIL = unchecked((int)0x80004005); internal const int E_FILENOTFOUND = unchecked((int)0x80070002); internal const int E_PATHNOTFOUND = unchecked((int)0x80070003); internal const int E_ACCESSDENIED = unchecked((int)0x80070005); internal const int E_INVALID_DATA = unchecked((int)0x8007000D); internal const int E_OUTOFMEMORY = unchecked((int)0x8007000E); internal const int E_INVALIDARG = unchecked((int)0x80070057); internal const int E_INSUFFICIENT_BUFFER = unchecked((int)0x8007007A); internal const int WSAECONNABORTED = unchecked((int)0x80072745); internal const int WSAECONNRESET = unchecked((int)0x80072746); internal const int ERROR_TOO_MANY_CMDS = unchecked((int)0x80070038); internal const int ERROR_NOT_SUPPORTED = unchecked((int)0x80070032); private HResults() {} } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Util { // Note: FACILITY_URT is defined as 0x13 (0x8013xxxx). Within that // range, 0x1yyy is for Runtime errors (used for Security, Metadata, etc). // In that subrange, 0x15zz and 0x16zz have been allocated for classlib-type // HResults. Also note that some of our HResults have to map to certain // COM HR's, etc. internal sealed class HResults { internal const int S_OK = 0; internal const int E_NOTIMPL = unchecked((int)0x80004001); internal const int E_POINTER = unchecked((int)0x80004003); internal const int E_FAIL = unchecked((int)0x80004005); internal const int E_FILENOTFOUND = unchecked((int)0x80070002); internal const int E_PATHNOTFOUND = unchecked((int)0x80070003); internal const int E_ACCESSDENIED = unchecked((int)0x80070005); internal const int E_INVALID_DATA = unchecked((int)0x8007000D); internal const int E_OUTOFMEMORY = unchecked((int)0x8007000E); internal const int E_INVALIDARG = unchecked((int)0x80070057); internal const int E_INSUFFICIENT_BUFFER = unchecked((int)0x8007007A); internal const int WSAECONNABORTED = unchecked((int)0x80072745); internal const int WSAECONNRESET = unchecked((int)0x80072746); internal const int ERROR_TOO_MANY_CMDS = unchecked((int)0x80070038); internal const int ERROR_NOT_SUPPORTED = unchecked((int)0x80070032); private HResults() {} } } // 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
- HtmlElementCollection.cs
- Privilege.cs
- FrugalMap.cs
- Utilities.cs
- WorkflowTerminatedException.cs
- PresentationSource.cs
- LogicalExpressionTypeConverter.cs
- SectionXmlInfo.cs
- UseManagedPresentationBindingElementImporter.cs
- DependencySource.cs
- WebPartCloseVerb.cs
- CurrentChangedEventManager.cs
- SchemaDeclBase.cs
- OleDbParameter.cs
- RenderOptions.cs
- RemotingAttributes.cs
- Color.cs
- SwitchElementsCollection.cs
- VirtualPath.cs
- TextEditorDragDrop.cs
- ArrayTypeMismatchException.cs
- ObjectItemCollection.cs
- RSAOAEPKeyExchangeFormatter.cs
- PropertyReference.cs
- EntityTypeEmitter.cs
- CharStorage.cs
- Win32Exception.cs
- CollectionChangedEventManager.cs
- ConfigurationSettings.cs
- DataServiceEntityAttribute.cs
- AvTrace.cs
- Number.cs
- GlyphInfoList.cs
- JoinSymbol.cs
- SslStream.cs
- ExpressionEditorAttribute.cs
- TypeInitializationException.cs
- AsyncResult.cs
- CrossAppDomainChannel.cs
- RegexRunner.cs
- ToolStripPanelCell.cs
- StylusPointCollection.cs
- OneOfScalarConst.cs
- LogLogRecordHeader.cs
- LineGeometry.cs
- OdbcConnection.cs
- DataGridCellEditEndingEventArgs.cs
- FieldNameLookup.cs
- MenuScrollingVisibilityConverter.cs
- InteropDesigner.xaml.cs
- ActivityDesigner.cs
- ImageClickEventArgs.cs
- _DigestClient.cs
- ConfigurationSchemaErrors.cs
- HttpAsyncResult.cs
- DataErrorValidationRule.cs
- ClientSideQueueItem.cs
- FtpWebRequest.cs
- TabControlCancelEvent.cs
- BookmarkEventArgs.cs
- XmlElement.cs
- HandlerBase.cs
- RuleInfoComparer.cs
- FigureParagraph.cs
- ItemContainerGenerator.cs
- DataSourceHelper.cs
- TiffBitmapDecoder.cs
- TextPointerBase.cs
- DrawingVisualDrawingContext.cs
- SecurityException.cs
- ThreadAttributes.cs
- CreateRefExpr.cs
- SchemaImporterExtensionElementCollection.cs
- EventProperty.cs
- JulianCalendar.cs
- FunctionDetailsReader.cs
- SplitContainer.cs
- PromptBuilder.cs
- GroupItemAutomationPeer.cs
- MsmqOutputSessionChannel.cs
- DefaultProfileManager.cs
- Repeater.cs
- ToolStripSplitButton.cs
- WebPartRestoreVerb.cs
- ActivityCollectionMarkupSerializer.cs
- contentDescriptor.cs
- FixedStringLookup.cs
- ZipIOFileItemStream.cs
- InputLanguage.cs
- AsyncSerializedWorker.cs
- Int32AnimationUsingKeyFrames.cs
- ListenerElementsCollection.cs
- XmlWriter.cs
- FatalException.cs
- AdornerLayer.cs
- AsymmetricCryptoHandle.cs
- ClientRuntimeConfig.cs
- WebPermission.cs
- Crc32.cs
- AuthenticationServiceManager.cs