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
- WmlPageAdapter.cs
- Fx.cs
- GB18030Encoding.cs
- OverflowException.cs
- ValidationErrorCollection.cs
- ConnectorMovedEventArgs.cs
- EntityType.cs
- SimpleBitVector32.cs
- CaseCqlBlock.cs
- CapabilitiesRule.cs
- WindowsSlider.cs
- ReadOnlyDictionary.cs
- EntitySqlQueryCacheKey.cs
- RewritingSimplifier.cs
- WeakRefEnumerator.cs
- RestHandlerFactory.cs
- SimpleApplicationHost.cs
- MulticastDelegate.cs
- DecoratedNameAttribute.cs
- DataObjectMethodAttribute.cs
- XomlCompilerHelpers.cs
- Grid.cs
- SortDescription.cs
- FixedDocumentPaginator.cs
- RunInstallerAttribute.cs
- ToolStripItemRenderEventArgs.cs
- LOSFormatter.cs
- MemberNameValidator.cs
- Matrix3DValueSerializer.cs
- ExpandSegmentCollection.cs
- DataMisalignedException.cs
- DataViewManager.cs
- ResourceBinder.cs
- Socket.cs
- DispatcherExceptionFilterEventArgs.cs
- IteratorFilter.cs
- MimeReturn.cs
- NavigationEventArgs.cs
- QueueNameHelper.cs
- WindowsButton.cs
- DateTimeFormat.cs
- SelectionPattern.cs
- PointF.cs
- RequestCachePolicyConverter.cs
- SmtpLoginAuthenticationModule.cs
- Quaternion.cs
- HashCodeCombiner.cs
- EncryptRequest.cs
- TypeDefinition.cs
- NetworkCredential.cs
- ToolStripDesignerUtils.cs
- Journaling.cs
- mil_commands.cs
- TemplateLookupAction.cs
- OpacityConverter.cs
- TemplateManager.cs
- QuarticEase.cs
- ResourcePermissionBaseEntry.cs
- TemplateParser.cs
- CLSCompliantAttribute.cs
- PlatformCulture.cs
- MetadataItemSerializer.cs
- CommandDevice.cs
- MenuItemBindingCollection.cs
- EventSetter.cs
- WindowsStatic.cs
- BooleanSwitch.cs
- WebPartConnectionCollection.cs
- ClientUtils.cs
- Privilege.cs
- StreamFormatter.cs
- basenumberconverter.cs
- BindUriHelper.cs
- AvTrace.cs
- DefaultMergeHelper.cs
- ServiceSecurityContext.cs
- ContextMenuService.cs
- RawUIStateInputReport.cs
- TimeSpanStorage.cs
- RemoteWebConfigurationHost.cs
- EntityRecordInfo.cs
- HttpModuleActionCollection.cs
- Lease.cs
- PolygonHotSpot.cs
- NamespaceDisplay.xaml.cs
- WebServiceData.cs
- Models.cs
- ProcessInputEventArgs.cs
- Currency.cs
- QilGeneratorEnv.cs
- CodeNamespaceImportCollection.cs
- RotateTransform3D.cs
- PageVisual.cs
- SessionIDManager.cs
- DataGridPageChangedEventArgs.cs
- HttpListener.cs
- MsiStyleLogWriter.cs
- Publisher.cs
- ErrorHandler.cs
- Brush.cs