Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / OperationResponse.cs / 1 / 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
- DataSourceSelectArguments.cs
- CodeTypeReference.cs
- ImageUrlEditor.cs
- HtmlMobileTextWriter.cs
- DataTableReader.cs
- DrawingAttributeSerializer.cs
- ContentElementAutomationPeer.cs
- DataSysAttribute.cs
- ParagraphResult.cs
- EmbeddedMailObject.cs
- MultiTargetingUtil.cs
- RemoteWebConfigurationHostStream.cs
- PolicyValidationException.cs
- TabPanel.cs
- AutomationProperties.cs
- UnicastIPAddressInformationCollection.cs
- UnionCodeGroup.cs
- LineGeometry.cs
- LostFocusEventManager.cs
- CodeSubDirectoriesCollection.cs
- TaskFileService.cs
- EarlyBoundInfo.cs
- DetailsViewRow.cs
- ProfileProvider.cs
- MembershipSection.cs
- DesignerDataStoredProcedure.cs
- ClientEventManager.cs
- ServiceModelConfigurationSectionCollection.cs
- UIElement.cs
- TemplateInstanceAttribute.cs
- ipaddressinformationcollection.cs
- ZoneIdentityPermission.cs
- VirtualizedItemPattern.cs
- OracleTimeSpan.cs
- SmtpNtlmAuthenticationModule.cs
- ExceptionUtil.cs
- KnowledgeBase.cs
- FacetChecker.cs
- UserThread.cs
- Polygon.cs
- DockPanel.cs
- XmlWriterSettings.cs
- RootProfilePropertySettingsCollection.cs
- UIPropertyMetadata.cs
- SqlError.cs
- GuidelineSet.cs
- TypeBuilderInstantiation.cs
- AutomationPeer.cs
- SafeViewOfFileHandle.cs
- EnumUnknown.cs
- TabControl.cs
- ApplicationBuildProvider.cs
- EntitySetDataBindingList.cs
- SiteMembershipCondition.cs
- QueryStringParameter.cs
- ReliableMessagingHelpers.cs
- QuotedPrintableStream.cs
- DbConnectionStringCommon.cs
- ScriptResourceHandler.cs
- RangeValidator.cs
- CommonDialog.cs
- RtfNavigator.cs
- PrePrepareMethodAttribute.cs
- ReachDocumentPageSerializer.cs
- DocumentReference.cs
- FileLoadException.cs
- HostingEnvironmentSection.cs
- ClosureBinding.cs
- OleDbWrapper.cs
- UserControlCodeDomTreeGenerator.cs
- TextParaClient.cs
- StrongNameHelpers.cs
- DefaultMemberAttribute.cs
- UrlMappingsModule.cs
- FamilyCollection.cs
- SctClaimDictionary.cs
- AutoResetEvent.cs
- TextContainerChangeEventArgs.cs
- CommandField.cs
- ResourceWriter.cs
- BitmapEffectDrawing.cs
- LinkButton.cs
- RuntimeIdentifierPropertyAttribute.cs
- ImpersonateTokenRef.cs
- NoClickablePointException.cs
- MappedMetaModel.cs
- DispatcherHookEventArgs.cs
- MemberDomainMap.cs
- EntityUtil.cs
- LinkedList.cs
- XmlNodeChangedEventArgs.cs
- SystemIPAddressInformation.cs
- PackageRelationshipCollection.cs
- CheckedListBox.cs
- TdsEnums.cs
- ToolStripRendererSwitcher.cs
- handlecollector.cs
- ComponentGuaranteesAttribute.cs
- BaseUriHelper.cs
- SmiContext.cs