Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CellPartitioner.cs
- LockCookie.cs
- ResourceSetExpression.cs
- Graphics.cs
- CodeConditionStatement.cs
- NativeMethods.cs
- DynamicResourceExtensionConverter.cs
- WebConfigurationHost.cs
- TitleStyle.cs
- EventData.cs
- BamlVersionHeader.cs
- SimpleMailWebEventProvider.cs
- SystemWebCachingSectionGroup.cs
- EventLogPermissionEntry.cs
- OpenFileDialog.cs
- ResourceDescriptionAttribute.cs
- ReflectionHelper.cs
- SqlConnection.cs
- SoapEnumAttribute.cs
- DataReaderContainer.cs
- WeakReferenceList.cs
- DataGridViewCellParsingEventArgs.cs
- IconConverter.cs
- XsdDataContractExporter.cs
- CapabilitiesState.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- ExtendedPropertyDescriptor.cs
- Roles.cs
- XmlBindingWorker.cs
- ProfileSettings.cs
- XmlSerializerSection.cs
- Accessible.cs
- WebBrowserBase.cs
- CollectionEditor.cs
- ToolStripSystemRenderer.cs
- UnsafePeerToPeerMethods.cs
- Vector3DConverter.cs
- DockProviderWrapper.cs
- SapiInterop.cs
- SessionParameter.cs
- SparseMemoryStream.cs
- ConfigXmlComment.cs
- _BufferOffsetSize.cs
- KeyedCollection.cs
- Scene3D.cs
- StringResourceManager.cs
- MimeWriter.cs
- PerformanceCounterLib.cs
- ReflectionTypeLoadException.cs
- TrueReadOnlyCollection.cs
- BroadcastEventHelper.cs
- ToolboxItemCollection.cs
- RoutedPropertyChangedEventArgs.cs
- DesignerPerfEventProvider.cs
- AdornerPresentationContext.cs
- PathFigure.cs
- StringBlob.cs
- ResXDataNode.cs
- PropertyReferenceSerializer.cs
- SBCSCodePageEncoding.cs
- ProcessModuleCollection.cs
- SectionVisual.cs
- XhtmlBasicPanelAdapter.cs
- ChildChangedEventArgs.cs
- UrlAuthorizationModule.cs
- RegexReplacement.cs
- ToolBarOverflowPanel.cs
- SmiEventSink_Default.cs
- ProfileSettings.cs
- ObjectIDGenerator.cs
- cookie.cs
- PrinterResolution.cs
- ApplicationServicesHostFactory.cs
- CodeVariableDeclarationStatement.cs
- TextEditorThreadLocalStore.cs
- FixedSOMTableRow.cs
- SpoolingTask.cs
- XPathSelfQuery.cs
- Trigger.cs
- CommandBindingCollection.cs
- TextElementCollectionHelper.cs
- TextSimpleMarkerProperties.cs
- EntryIndex.cs
- AtomMaterializerLog.cs
- DataDocumentXPathNavigator.cs
- Registration.cs
- DesigntimeLicenseContextSerializer.cs
- PageWrapper.cs
- HtmlElementCollection.cs
- ButtonField.cs
- CaretElement.cs
- TdsValueSetter.cs
- WorkflowDebuggerSteppingAttribute.cs
- MULTI_QI.cs
- BaseCodeDomTreeGenerator.cs
- DragDrop.cs
- SqlDataSourceParameterParser.cs
- KerberosSecurityTokenAuthenticator.cs
- LocatorPart.cs
- TreeViewAutomationPeer.cs