Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- MemberRelationshipService.cs
- Restrictions.cs
- ConnectivityStatus.cs
- CroppedBitmap.cs
- FreezableDefaultValueFactory.cs
- ImageMap.cs
- ListViewCommandEventArgs.cs
- DesignerDataSourceView.cs
- SpecialTypeDataContract.cs
- WinFormsUtils.cs
- ButtonColumn.cs
- XamlParser.cs
- GlyphRun.cs
- ApplicationDirectoryMembershipCondition.cs
- ProfileEventArgs.cs
- Literal.cs
- DynamicUpdateCommand.cs
- SystemIPInterfaceStatistics.cs
- QuotaThrottle.cs
- Vector3DKeyFrameCollection.cs
- TextPointer.cs
- PolicyReader.cs
- EntitySqlException.cs
- LoginCancelEventArgs.cs
- BasePattern.cs
- AccessDataSource.cs
- GorillaCodec.cs
- ClientTargetSection.cs
- BoolExpressionVisitors.cs
- TraceLog.cs
- CommonObjectSecurity.cs
- PolicyLevel.cs
- ResourceDescriptionAttribute.cs
- InitializingNewItemEventArgs.cs
- ClockController.cs
- FrameworkContextData.cs
- DataSetFieldSchema.cs
- PageOrientation.cs
- KeyFrames.cs
- PackageProperties.cs
- XmlQueryContext.cs
- followingquery.cs
- ResourceDescriptionAttribute.cs
- XPathDocumentBuilder.cs
- SystemNetworkInterface.cs
- ProxyWebPartConnectionCollection.cs
- LocationSectionRecord.cs
- GlyphShapingProperties.cs
- OracleRowUpdatedEventArgs.cs
- DesignerDataSchemaClass.cs
- VectorAnimationBase.cs
- URLMembershipCondition.cs
- DataGridViewTextBoxEditingControl.cs
- ChannelFactory.cs
- CatalogPart.cs
- CatalogPartChrome.cs
- DesignerFrame.cs
- GridView.cs
- SqlServer2KCompatibilityAnnotation.cs
- TokenDescriptor.cs
- ProgressBarRenderer.cs
- ProfileEventArgs.cs
- AuthenticatingEventArgs.cs
- IDQuery.cs
- ObjectStateFormatter.cs
- Triangle.cs
- SqlMethodCallConverter.cs
- CanExecuteRoutedEventArgs.cs
- CounterCreationData.cs
- HttpCachePolicy.cs
- TemplateBindingExpression.cs
- CodeGenerator.cs
- Win32PrintDialog.cs
- WebBrowserSiteBase.cs
- ManipulationLogic.cs
- BindingGroup.cs
- HtmlEncodedRawTextWriter.cs
- QueryUtil.cs
- GiveFeedbackEventArgs.cs
- DataService.cs
- ProtectedConfigurationProviderCollection.cs
- altserialization.cs
- Tokenizer.cs
- RequestBringIntoViewEventArgs.cs
- InputQueue.cs
- WebPartUtil.cs
- RoleBoolean.cs
- TextElement.cs
- XmlSchemaSimpleContentRestriction.cs
- ClientUtils.cs
- DesignerAttribute.cs
- BypassElement.cs
- DynamicPropertyHolder.cs
- ItemContainerGenerator.cs
- DynamicUpdateCommand.cs
- TimeSpanConverter.cs
- ProcessManager.cs
- ClusterUtils.cs
- LiteralTextParser.cs
- BindingExpressionBase.cs