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
- XsdBuilder.cs
- ComboBoxItem.cs
- LocatorManager.cs
- ColorConvertedBitmap.cs
- InkCanvas.cs
- GPPOINT.cs
- GridViewUpdateEventArgs.cs
- JsonServiceDocumentSerializer.cs
- MaskedTextBox.cs
- Matrix.cs
- TabControlCancelEvent.cs
- XPathSelfQuery.cs
- RangeBase.cs
- Pens.cs
- TableAutomationPeer.cs
- XmlSchemaGroupRef.cs
- RequiredFieldValidator.cs
- PanelStyle.cs
- DbQueryCommandTree.cs
- BooleanProjectedSlot.cs
- xmlfixedPageInfo.cs
- ArcSegment.cs
- SchemaManager.cs
- Renderer.cs
- ReadOnlyTernaryTree.cs
- CaseExpr.cs
- ToolStripItemTextRenderEventArgs.cs
- ColorContextHelper.cs
- Matrix3D.cs
- MissingFieldException.cs
- ScrollViewerAutomationPeer.cs
- WebBrowserPermission.cs
- SessionStateModule.cs
- NamespaceExpr.cs
- ControlParser.cs
- ChtmlCommandAdapter.cs
- HttpValueCollection.cs
- Rule.cs
- MatrixAnimationUsingKeyFrames.cs
- RoleManagerSection.cs
- Closure.cs
- DataViewSetting.cs
- XmlWrappingReader.cs
- DESCryptoServiceProvider.cs
- InstanceCompleteException.cs
- DataColumnPropertyDescriptor.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- QueryValue.cs
- MappingSource.cs
- CreateUserWizardStep.cs
- MimeParameter.cs
- StreamWithDictionary.cs
- RadioButton.cs
- GestureRecognitionResult.cs
- Parsers.cs
- WindowsListViewItem.cs
- BreakRecordTable.cs
- XLinq.cs
- SessionStateItemCollection.cs
- xmlformatgeneratorstatics.cs
- EntityCollection.cs
- LinkButton.cs
- QueryResult.cs
- VerificationAttribute.cs
- Border.cs
- ByValueEqualityComparer.cs
- SystemPens.cs
- ProfileGroupSettings.cs
- EntityDataSourceState.cs
- Header.cs
- RestHandlerFactory.cs
- SqlParameterizer.cs
- updatecommandorderer.cs
- SqlComparer.cs
- TypeExtension.cs
- HyperlinkAutomationPeer.cs
- PropertyChangedEventArgs.cs
- ToolStripPanelRow.cs
- TimeStampChecker.cs
- XmlNodeChangedEventArgs.cs
- AmbientValueAttribute.cs
- SqlLiftWhereClauses.cs
- PrintDocument.cs
- Image.cs
- ColorTranslator.cs
- RegionInfo.cs
- ClosableStream.cs
- HostingEnvironmentWrapper.cs
- DiscoveryMessageProperty.cs
- StringTraceRecord.cs
- ByteStack.cs
- MonthCalendar.cs
- DocumentViewerHelper.cs
- AssemblyInfo.cs
- QfeChecker.cs
- ConfigurationValidatorBase.cs
- TypefaceCollection.cs
- LoadMessageLogger.cs
- MessageDirection.cs
- ColorPalette.cs