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
- MapPathBasedVirtualPathProvider.cs
- GrammarBuilderRuleRef.cs
- MenuCommand.cs
- SiteMapPathDesigner.cs
- ListParagraph.cs
- ArraySegment.cs
- HMACMD5.cs
- DocumentSequence.cs
- FormViewUpdateEventArgs.cs
- ZoneMembershipCondition.cs
- SQLStringStorage.cs
- ObjectStateManagerMetadata.cs
- EntityTypeEmitter.cs
- BoundPropertyEntry.cs
- ContentHostHelper.cs
- RelationshipNavigation.cs
- FontUnit.cs
- ScrollContentPresenter.cs
- Filter.cs
- SequentialActivityDesigner.cs
- RepeatBehavior.cs
- ObjectListCommandCollection.cs
- TraceLevelHelper.cs
- ClientUrlResolverWrapper.cs
- UnicastIPAddressInformationCollection.cs
- InheritanceContextChangedEventManager.cs
- OperationCanceledException.cs
- EntityDataSourceDesignerHelper.cs
- ProcessProtocolHandler.cs
- WeakReferenceList.cs
- UrlAuthorizationModule.cs
- DateTimePicker.cs
- AccessDataSource.cs
- AddInToken.cs
- XPathDocument.cs
- RegionInfo.cs
- SafeEventLogWriteHandle.cs
- TransactionInterop.cs
- ImportCatalogPart.cs
- _AutoWebProxyScriptEngine.cs
- KeyToListMap.cs
- AsymmetricKeyExchangeDeformatter.cs
- SizeAnimation.cs
- LocatorPartList.cs
- XPathDescendantIterator.cs
- PtsContext.cs
- BlurBitmapEffect.cs
- HttpCookie.cs
- Compilation.cs
- GlyphTypeface.cs
- DesignerVerb.cs
- DropDownList.cs
- RelationalExpressions.cs
- SHA1.cs
- MetadataItemEmitter.cs
- PropertyConverter.cs
- OracleParameter.cs
- wgx_sdk_version.cs
- SkinBuilder.cs
- AttachmentCollection.cs
- NumberSubstitution.cs
- StylusPointPropertyUnit.cs
- QilXmlWriter.cs
- DataRowExtensions.cs
- ConcurrentStack.cs
- MailAddress.cs
- CapabilitiesPattern.cs
- ConnectionPoint.cs
- SchemaHelper.cs
- TreeViewImageIndexConverter.cs
- FileDialogPermission.cs
- MailMessageEventArgs.cs
- MarginCollapsingState.cs
- ComIntegrationManifestGenerator.cs
- UpDownEvent.cs
- IconEditor.cs
- ObjectPersistData.cs
- BindingSource.cs
- DispatcherHooks.cs
- PaintEvent.cs
- Renderer.cs
- XmlSerializerFormatAttribute.cs
- PropertyPathConverter.cs
- XmlDataSourceView.cs
- AutoGeneratedFieldProperties.cs
- PerformanceCounterLib.cs
- StorageComplexTypeMapping.cs
- Int16.cs
- InkCollectionBehavior.cs
- Int64Animation.cs
- MouseEvent.cs
- StrokeRenderer.cs
- ToolStripItemRenderEventArgs.cs
- RectAnimation.cs
- Queue.cs
- ToolStripDropTargetManager.cs
- SqlClientWrapperSmiStreamChars.cs
- ColumnResizeAdorner.cs
- SafeNativeMethodsCLR.cs
- FormParameter.cs