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
- FieldNameLookup.cs
- ParenExpr.cs
- Odbc32.cs
- OracleFactory.cs
- StreamingContext.cs
- QueryCorrelationInitializer.cs
- FloaterParagraph.cs
- FacetDescriptionElement.cs
- XmlObjectSerializer.cs
- AssemblyNameProxy.cs
- ProgressBar.cs
- HeaderPanel.cs
- UIServiceHelper.cs
- RightsManagementEncryptedStream.cs
- SmiContextFactory.cs
- ImageCodecInfoPrivate.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- SiteMapDataSourceView.cs
- TrueReadOnlyCollection.cs
- BrowserCapabilitiesCompiler.cs
- DataBindingExpressionBuilder.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- TypeDelegator.cs
- FaultContext.cs
- TransformConverter.cs
- DataColumn.cs
- Tracking.cs
- SqlFormatter.cs
- VideoDrawing.cs
- ToolStripDropDownItem.cs
- HttpInputStream.cs
- Run.cs
- PathBox.cs
- HttpListenerException.cs
- CalendarAutoFormat.cs
- VerticalAlignConverter.cs
- ObjectSpanRewriter.cs
- CapabilitiesUse.cs
- MexServiceChannelBuilder.cs
- VarRemapper.cs
- MasterPageBuildProvider.cs
- DataPagerFieldItem.cs
- ProcessHostServerConfig.cs
- Tokenizer.cs
- SqlDataSourceCommandParser.cs
- SqlTypeSystemProvider.cs
- Pen.cs
- UserControl.cs
- DataGridTableCollection.cs
- RegistrationProxy.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- ReflectPropertyDescriptor.cs
- InstancePersistence.cs
- HWStack.cs
- XmlSchemaInclude.cs
- DataGridRow.cs
- SmiXetterAccessMap.cs
- TextRangeEditLists.cs
- FactoryMaker.cs
- SearchForVirtualItemEventArgs.cs
- NameTable.cs
- BreakRecordTable.cs
- SerializationSectionGroup.cs
- CodeCastExpression.cs
- EventQueueState.cs
- FileLoadException.cs
- ParameterElement.cs
- OutputCacheSettings.cs
- BaseProcessProtocolHandler.cs
- HuffmanTree.cs
- TagPrefixCollection.cs
- CultureMapper.cs
- XmlReflectionImporter.cs
- PrincipalPermission.cs
- ResourcePool.cs
- CheckBoxPopupAdapter.cs
- StatusBarItem.cs
- PopOutPanel.cs
- HttpListenerRequest.cs
- MimeMultiPart.cs
- AccessViolationException.cs
- PrimitiveDataContract.cs
- HeaderedContentControl.cs
- BufferModeSettings.cs
- DataGridViewComponentPropertyGridSite.cs
- CfgArc.cs
- shaperfactory.cs
- XpsColorContext.cs
- BinaryConverter.cs
- CompositeControl.cs
- TemplateControl.cs
- XmlUrlResolver.cs
- SqlRowUpdatedEvent.cs
- NameValuePair.cs
- FamilyMap.cs
- EditorZone.cs
- ReadWriteSpinLock.cs
- ChtmlTextBoxAdapter.cs
- ZeroOpNode.cs
- AxisAngleRotation3D.cs