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
- LayoutUtils.cs
- DiscreteKeyFrames.cs
- RegexNode.cs
- StylusPlugin.cs
- HttpHostedTransportConfiguration.cs
- XPathScanner.cs
- StartFileNameEditor.cs
- DispatcherObject.cs
- TreeNode.cs
- EntityDataSourceContainerNameConverter.cs
- FastPropertyAccessor.cs
- StringResourceManager.cs
- Typography.cs
- ContainerTracking.cs
- SourceInterpreter.cs
- PrimitiveSchema.cs
- HelpProvider.cs
- Exception.cs
- TextContainer.cs
- HeaderCollection.cs
- SemanticResolver.cs
- DragEvent.cs
- TrackingRecord.cs
- SocketElement.cs
- WorkflowOperationFault.cs
- StateRuntime.cs
- Context.cs
- ZipIOExtraFieldPaddingElement.cs
- View.cs
- Stack.cs
- SafeProcessHandle.cs
- CanonicalFormWriter.cs
- QueryNode.cs
- ListViewItemEventArgs.cs
- InternalRelationshipCollection.cs
- WaitForChangedResult.cs
- AppSecurityManager.cs
- SortDescriptionCollection.cs
- Root.cs
- DataGridViewImageColumn.cs
- CanExpandCollapseAllConverter.cs
- EdmRelationshipRoleAttribute.cs
- DataBoundControlAdapter.cs
- WebHttpDispatchOperationSelectorData.cs
- TextTreeText.cs
- EdmItemCollection.cs
- SelectionUIHandler.cs
- Internal.cs
- MailAddress.cs
- XmlUtil.cs
- HtmlInputFile.cs
- TableRowGroup.cs
- UrlAuthFailedErrorFormatter.cs
- FileStream.cs
- StylusOverProperty.cs
- WebScriptMetadataInstanceContextProvider.cs
- OutputScope.cs
- BinaryObjectInfo.cs
- BulletedList.cs
- ElementsClipboardData.cs
- cookieexception.cs
- XmlChildNodes.cs
- XmlSiteMapProvider.cs
- DoubleLinkList.cs
- EncoderNLS.cs
- CoTaskMemHandle.cs
- NameValueSectionHandler.cs
- GCHandleCookieTable.cs
- NullReferenceException.cs
- TextDecorationCollection.cs
- IteratorFilter.cs
- LockedActivityGlyph.cs
- DateTimeStorage.cs
- ObjectReaderCompiler.cs
- RoutedEventValueSerializer.cs
- ServiceRouteHandler.cs
- TextSearch.cs
- SafeEventLogWriteHandle.cs
- FollowerQueueCreator.cs
- StringFreezingAttribute.cs
- JavaScriptSerializer.cs
- HttpApplicationFactory.cs
- TextServicesLoader.cs
- InkCanvasSelectionAdorner.cs
- ExceptionTrace.cs
- SymbolType.cs
- LinqDataSourceSelectEventArgs.cs
- ProxyWebPartManagerDesigner.cs
- ConfigPathUtility.cs
- SafeBitVector32.cs
- CompileLiteralTextParser.cs
- TableLayoutStyleCollection.cs
- MasterPageCodeDomTreeGenerator.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- LingerOption.cs
- Message.cs
- ButtonFieldBase.cs
- ProviderUtil.cs
- DynamicRendererThreadManager.cs
- ExtenderProvidedPropertyAttribute.cs