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
- BitmapCodecInfo.cs
- CompilerGlobalScopeAttribute.cs
- CustomSignedXml.cs
- ThrowHelper.cs
- BitFlagsGenerator.cs
- ProfileGroupSettingsCollection.cs
- SQLConvert.cs
- ActivityCodeDomSerializationManager.cs
- SessionEndingCancelEventArgs.cs
- QueryOptionExpression.cs
- SafeFileMapViewHandle.cs
- StyleHelper.cs
- XMLSchema.cs
- HttpHandlerAction.cs
- AlternateViewCollection.cs
- Set.cs
- SeekStoryboard.cs
- PropertyTab.cs
- WindowsGrip.cs
- precedingquery.cs
- DeleteIndexBinder.cs
- QuaternionAnimationBase.cs
- TopClause.cs
- HttpRequestCacheValidator.cs
- BlobPersonalizationState.cs
- AssociationEndMember.cs
- httpstaticobjectscollection.cs
- DynamicDataRoute.cs
- ParameterReplacerVisitor.cs
- Soap12ProtocolReflector.cs
- StateBag.cs
- SQLConvert.cs
- AssociationTypeEmitter.cs
- MonthCalendarDesigner.cs
- DeferredElementTreeState.cs
- ComponentEvent.cs
- ScriptingScriptResourceHandlerSection.cs
- WebServiceEnumData.cs
- ArrayMergeHelper.cs
- Interlocked.cs
- StructuredProperty.cs
- DocumentXPathNavigator.cs
- HtmlElementErrorEventArgs.cs
- PrimitiveDataContract.cs
- SimpleBitVector32.cs
- WarningException.cs
- Content.cs
- propertytag.cs
- IProvider.cs
- XamlTypeWithExplicitNamespace.cs
- DynamicPropertyReader.cs
- DummyDataSource.cs
- Int16.cs
- PropertyTab.cs
- sqlmetadatafactory.cs
- IconHelper.cs
- RegexRunnerFactory.cs
- ClickablePoint.cs
- FontCollection.cs
- PolyLineSegment.cs
- TransformerConfigurationWizardBase.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- TempFiles.cs
- ShaperBuffers.cs
- WebResourceUtil.cs
- MembershipSection.cs
- PersonalizablePropertyEntry.cs
- ProjectionCamera.cs
- GroupAggregateExpr.cs
- IHttpResponseInternal.cs
- Int32Converter.cs
- QilTernary.cs
- XmlUTF8TextReader.cs
- EnvironmentPermission.cs
- CanExecuteRoutedEventArgs.cs
- SystemBrushes.cs
- ItemContainerPattern.cs
- PackWebResponse.cs
- TransformBlockRequest.cs
- EventHandlersDesigner.cs
- GridViewRowPresenter.cs
- RegexGroupCollection.cs
- KeyFrames.cs
- SignatureDescription.cs
- webproxy.cs
- ThreadInterruptedException.cs
- filewebresponse.cs
- RightsManagementSuppressedStream.cs
- PeerNameResolver.cs
- iisPickupDirectory.cs
- HtmlUtf8RawTextWriter.cs
- ParameterModifier.cs
- AsyncCompletedEventArgs.cs
- UserControlAutomationPeer.cs
- Pkcs9Attribute.cs
- ToggleButtonAutomationPeer.cs
- ModelVisual3D.cs
- ComponentChangingEvent.cs
- GPPOINT.cs
- MetadataArtifactLoader.cs