Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / Util / hresults.cs / 5 / 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
- thaishape.cs
- DeflateStream.cs
- Win32.cs
- UrlPath.cs
- TimeSpan.cs
- MaskedTextBox.cs
- OutputCacheProfileCollection.cs
- GregorianCalendar.cs
- TargetConverter.cs
- XPathNodeIterator.cs
- XmlDataDocument.cs
- Label.cs
- FixedSchema.cs
- DataGridViewAdvancedBorderStyle.cs
- COM2PropertyBuilderUITypeEditor.cs
- SerializationStore.cs
- ISFClipboardData.cs
- ResourceExpressionBuilder.cs
- ConfigXmlReader.cs
- OdbcConnectionOpen.cs
- EntryPointNotFoundException.cs
- UIHelper.cs
- BaseAddressPrefixFilterElementCollection.cs
- DataGridPagerStyle.cs
- TdsParserStateObject.cs
- SymLanguageVendor.cs
- ToolStripItemEventArgs.cs
- LayoutDump.cs
- FontStretches.cs
- NumericUpDownAccelerationCollection.cs
- updatecommandorderer.cs
- ImageBrush.cs
- DtdParser.cs
- IssuanceLicense.cs
- ListenerElementsCollection.cs
- TextTreeUndo.cs
- ApplicationServiceManager.cs
- TypeUtils.cs
- TextEditorContextMenu.cs
- SystemColors.cs
- HttpProxyTransportBindingElement.cs
- OrderedDictionary.cs
- LookupBindingPropertiesAttribute.cs
- HttpConfigurationContext.cs
- FormsAuthenticationUser.cs
- ApplyTemplatesAction.cs
- DataGridCaption.cs
- String.cs
- ProviderConnectionPointCollection.cs
- StructuredTypeEmitter.cs
- Math.cs
- VisualBrush.cs
- AttributeTable.cs
- SafeReadContext.cs
- WebBrowserPermission.cs
- LocatorGroup.cs
- ResourceAssociationType.cs
- Msmq4PoisonHandler.cs
- Rectangle.cs
- RawStylusInputReport.cs
- FileDataSourceCache.cs
- DataConnectionHelper.cs
- GestureRecognitionResult.cs
- CuspData.cs
- SolidColorBrush.cs
- FontFamilyConverter.cs
- UnionExpr.cs
- WhereaboutsReader.cs
- CommonEndpointBehaviorElement.cs
- PageThemeCodeDomTreeGenerator.cs
- WindowsScrollBarBits.cs
- HttpHandlerAction.cs
- UTF7Encoding.cs
- StyleTypedPropertyAttribute.cs
- EventLogWatcher.cs
- FileDialog_Vista.cs
- ControlOperationInvoker.cs
- SubMenuStyleCollection.cs
- CodeGenerator.cs
- OdbcConnectionStringbuilder.cs
- ChildChangedEventArgs.cs
- DataGridState.cs
- RegisteredDisposeScript.cs
- Parser.cs
- PropertyChangedEventManager.cs
- DelayedRegex.cs
- ReferencedCollectionType.cs
- ComNativeDescriptor.cs
- EntityDataSourceChangingEventArgs.cs
- CorrelationHandle.cs
- OperationCanceledException.cs
- TableLayoutStyle.cs
- MediaCommands.cs
- AttachmentCollection.cs
- CurrencyWrapper.cs
- TextEditorLists.cs
- SemaphoreSecurity.cs
- BitmapCodecInfoInternal.cs
- GridViewItemAutomationPeer.cs
- TraceEventCache.cs