Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / OperationResponse.cs / 1305376 / OperationResponse.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Operation response base class // //--------------------------------------------------------------------- namespace System.Data.Services.Client { using System; using System.Collections.Generic; using System.Diagnostics; ///Operation response base class [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1010", Justification = "required for this feature")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710", Justification = "required for this feature")] public abstract class OperationResponse { ///Http headers of the response. private Dictionaryheaders; /// Http status code of the response. private int statusCode; ///exception to throw during get results private Exception innerException; ////// constructor /// /// HTTP headers internal OperationResponse(Dictionaryheaders) { Debug.Assert(null != headers, "null headers"); this.headers = headers; } /// Http headers of the response. public IDictionaryHeaders { get { return this.headers; } } /// Http status code of the response. public int StatusCode { get { return this.statusCode; } internal set { this.statusCode = value; } } ///Get and set the exception object if this response had a failure public Exception Error { get { return this.innerException; } set { Debug.Assert(null != value, "should not set null"); this.innerException = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Operation response base class // //--------------------------------------------------------------------- namespace System.Data.Services.Client { using System; using System.Collections.Generic; using System.Diagnostics; ///Operation response base class [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1010", Justification = "required for this feature")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710", Justification = "required for this feature")] public abstract class OperationResponse { ///Http headers of the response. private Dictionaryheaders; /// Http status code of the response. private int statusCode; ///exception to throw during get results private Exception innerException; ////// constructor /// /// HTTP headers internal OperationResponse(Dictionaryheaders) { Debug.Assert(null != headers, "null headers"); this.headers = headers; } /// Http headers of the response. public IDictionaryHeaders { get { return this.headers; } } /// Http status code of the response. public int StatusCode { get { return this.statusCode; } internal set { this.statusCode = value; } } ///Get and set the exception object if this response had a failure public Exception Error { get { return this.innerException; } set { Debug.Assert(null != value, "should not set null"); this.innerException = value; } } } } // 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
- FormsAuthenticationModule.cs
- EnumerableCollectionView.cs
- ValueOfAction.cs
- ObjectViewListener.cs
- DbParameterCollectionHelper.cs
- XmlAttributeCollection.cs
- TextTreeDeleteContentUndoUnit.cs
- WebControlAdapter.cs
- TypeSystem.cs
- Completion.cs
- ItemDragEvent.cs
- Compensation.cs
- ServiceDurableInstanceContextProvider.cs
- AxisAngleRotation3D.cs
- AlternateViewCollection.cs
- DataGridPagerStyle.cs
- XmlAnyElementAttributes.cs
- SupportsPreviewControlAttribute.cs
- Internal.cs
- XmlTextReaderImpl.cs
- DynamicVirtualDiscoSearcher.cs
- URLMembershipCondition.cs
- OutputCacheModule.cs
- CodeExpressionCollection.cs
- LicenseProviderAttribute.cs
- X509Certificate2.cs
- TextTabProperties.cs
- precedingsibling.cs
- CreateUserErrorEventArgs.cs
- Substitution.cs
- HtmlTableCell.cs
- BrowserDefinitionCollection.cs
- GenericRootAutomationPeer.cs
- ContentType.cs
- ForeignKeyConstraint.cs
- VScrollProperties.cs
- SecurityMode.cs
- ConstraintConverter.cs
- SoapAttributeOverrides.cs
- CalendarDataBindingHandler.cs
- OperationContractAttribute.cs
- Int32Storage.cs
- TreeNodeEventArgs.cs
- ObjectCloneHelper.cs
- ItemsPresenter.cs
- PluralizationServiceUtil.cs
- SupportsEventValidationAttribute.cs
- XmlQueryTypeFactory.cs
- UriTemplateMatch.cs
- MemberHolder.cs
- IntPtr.cs
- Constants.cs
- CompilerState.cs
- AppManager.cs
- ProcessStartInfo.cs
- SignedXml.cs
- TextParaClient.cs
- InplaceBitmapMetadataWriter.cs
- ProfileSettingsCollection.cs
- AdapterDictionary.cs
- UnionExpr.cs
- TypeInitializationException.cs
- FixedSOMFixedBlock.cs
- Identifier.cs
- ThrowOnMultipleAssignment.cs
- HandlerMappingMemo.cs
- FileIOPermission.cs
- XNodeValidator.cs
- ACL.cs
- LinearGradientBrush.cs
- XmlWhitespace.cs
- RenderingBiasValidation.cs
- ToolStripDropDownClosingEventArgs.cs
- EventEntry.cs
- NestedContainer.cs
- Transaction.cs
- GreenMethods.cs
- VisualBasic.cs
- PermissionSetTriple.cs
- NTAccount.cs
- UpdateException.cs
- SizeLimitedCache.cs
- SchemaImporterExtension.cs
- ServiceBuildProvider.cs
- TemplateModeChangedEventArgs.cs
- InputReferenceExpression.cs
- ClosableStream.cs
- QilPatternFactory.cs
- AutomationPropertyInfo.cs
- AtomServiceDocumentSerializer.cs
- ServiceDiscoveryElement.cs
- SeparatorAutomationPeer.cs
- SwitchExpression.cs
- TableCell.cs
- Itemizer.cs
- XmlHierarchyData.cs
- ListViewSortEventArgs.cs
- ValidationContext.cs
- AndCondition.cs
- WebScriptEnablingBehavior.cs