Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Util / hresults.cs / 1305376 / 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 S_FALSE = 1; 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 S_FALSE = 1; 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
- ObjectHandle.cs
- DataServiceKeyAttribute.cs
- KerberosRequestorSecurityToken.cs
- AdobeCFFWrapper.cs
- FieldAccessException.cs
- ParsedRoute.cs
- RequiredFieldValidator.cs
- RubberbandSelector.cs
- DataGridRowAutomationPeer.cs
- FixedSOMPageElement.cs
- XmlValidatingReader.cs
- FilterEventArgs.cs
- TypeConverter.cs
- Crc32Helper.cs
- DiscardableAttribute.cs
- ImageInfo.cs
- TripleDES.cs
- ObfuscationAttribute.cs
- AxisAngleRotation3D.cs
- GridLength.cs
- HttpStreamMessage.cs
- TypeToken.cs
- ComponentEditorForm.cs
- SQLMoney.cs
- _NestedMultipleAsyncResult.cs
- TextCollapsingProperties.cs
- XmlDictionaryReaderQuotas.cs
- StrokeNodeData.cs
- CodeTypeConstructor.cs
- CommittableTransaction.cs
- ConfigUtil.cs
- EncoderNLS.cs
- StructuralCache.cs
- DesignerDataParameter.cs
- Types.cs
- Attributes.cs
- CompilerErrorCollection.cs
- PreloadedPackages.cs
- XmlSerializerObjectSerializer.cs
- DecimalAnimationBase.cs
- QueryExtender.cs
- WebBrowserUriTypeConverter.cs
- BaseValidator.cs
- RuleConditionDialog.Designer.cs
- ExpandCollapseProviderWrapper.cs
- ExtendedProtectionPolicy.cs
- RoutedEventArgs.cs
- URL.cs
- TextPatternIdentifiers.cs
- Popup.cs
- InternalDuplexChannelFactory.cs
- InputLanguageManager.cs
- CookieHandler.cs
- Control.cs
- MsmqIntegrationSecurity.cs
- Compiler.cs
- ConfigurationManagerHelper.cs
- IntAverageAggregationOperator.cs
- HyperLinkColumn.cs
- UnicodeEncoding.cs
- DefaultValueMapping.cs
- XmlNullResolver.cs
- Model3D.cs
- UInt16.cs
- ReadOnlyDataSourceView.cs
- DocumentSequenceHighlightLayer.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- Matrix3D.cs
- ObjectQueryState.cs
- CodeTypeMemberCollection.cs
- SelectorItemAutomationPeer.cs
- SizeConverter.cs
- TraceData.cs
- CryptographicAttribute.cs
- ConditionalBranch.cs
- DecimalConverter.cs
- CountdownEvent.cs
- WebSysDefaultValueAttribute.cs
- XamlStyleSerializer.cs
- XmlUtf8RawTextWriter.cs
- TransformGroup.cs
- HostingEnvironmentException.cs
- VisualTreeHelper.cs
- InitializerFacet.cs
- FormConverter.cs
- Token.cs
- DataObjectEventArgs.cs
- ReverseInheritProperty.cs
- UpdatePanelTriggerCollection.cs
- NativeMethodsCLR.cs
- AQNBuilder.cs
- DetailsViewDeletedEventArgs.cs
- EventLogTraceListener.cs
- TTSVoice.cs
- WindowsAuthenticationModule.cs
- ContainsRowNumberChecker.cs
- FontFaceLayoutInfo.cs
- TemplateBindingExtension.cs
- SettingsProperty.cs
- TypeUsageBuilder.cs