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
- SiteMapNodeItem.cs
- TrackBarRenderer.cs
- TextChange.cs
- WithParamAction.cs
- DbgUtil.cs
- PolyQuadraticBezierSegment.cs
- ToolboxItemAttribute.cs
- _FtpDataStream.cs
- CacheManager.cs
- MenuAdapter.cs
- ProtectedConfigurationProviderCollection.cs
- AuthenticateEventArgs.cs
- TreeIterators.cs
- TextBox.cs
- SerializationSectionGroup.cs
- DiscardableAttribute.cs
- DataServiceResponse.cs
- HwndSourceParameters.cs
- ping.cs
- AuthenticateEventArgs.cs
- Repeater.cs
- SimpleApplicationHost.cs
- LowerCaseStringConverter.cs
- GenericFlowSwitchHelper.cs
- ListBoxItem.cs
- DbParameterCollection.cs
- Accessible.cs
- ScriptServiceAttribute.cs
- CounterCreationData.cs
- DbgCompiler.cs
- WorkflowDebuggerSteppingAttribute.cs
- XsltContext.cs
- ScrollProviderWrapper.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- dbdatarecord.cs
- GenericTypeParameterConverter.cs
- SerializationAttributes.cs
- ExtendedProtectionPolicy.cs
- mda.cs
- FamilyMapCollection.cs
- UIntPtr.cs
- ReadOnlyDictionary.cs
- HostingPreferredMapPath.cs
- RangeValuePatternIdentifiers.cs
- DbSource.cs
- MultipartContentParser.cs
- ModelItemCollectionImpl.cs
- RegexCaptureCollection.cs
- MetadataWorkspace.cs
- TraceListener.cs
- AuthenticationSection.cs
- TrackingProvider.cs
- WindowsGraphicsCacheManager.cs
- AssociationProvider.cs
- TrackingRecord.cs
- PageTheme.cs
- X509UI.cs
- AutomationElementCollection.cs
- SerializationHelper.cs
- VersionPair.cs
- MobileRedirect.cs
- FixedElement.cs
- ZipIORawDataFileBlock.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- QueryOptionExpression.cs
- FrameSecurityDescriptor.cs
- SqlIdentifier.cs
- SponsorHelper.cs
- GridViewEditEventArgs.cs
- SmtpReplyReaderFactory.cs
- ResourceSet.cs
- Queue.cs
- LoginStatusDesigner.cs
- MaskedTextBoxTextEditor.cs
- DataServiceQueryException.cs
- DataGridViewLinkColumn.cs
- Parameter.cs
- GC.cs
- QueryContinueDragEvent.cs
- XmlSchemas.cs
- CustomErrorCollection.cs
- DESCryptoServiceProvider.cs
- ImageUrlEditor.cs
- FormViewPagerRow.cs
- UnauthorizedWebPart.cs
- QuerySafeNavigator.cs
- BypassElementCollection.cs
- Or.cs
- Types.cs
- LinkedResourceCollection.cs
- DependencyPropertyAttribute.cs
- AssemblyBuilder.cs
- DateTimeValueSerializer.cs
- XhtmlMobileTextWriter.cs
- Brushes.cs
- Pair.cs
- ScriptIgnoreAttribute.cs
- BufferModeSettings.cs
- DiscreteKeyFrames.cs
- WebPartCatalogCloseVerb.cs