Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / OperationResponse.cs / 3 / 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
- ToolStripManager.cs
- UpDownBase.cs
- XmlSchemaValidationException.cs
- RepeaterCommandEventArgs.cs
- ManagementNamedValueCollection.cs
- Console.cs
- BoundPropertyEntry.cs
- ControlSerializer.cs
- SystemParameters.cs
- KeyTime.cs
- UpdatePanelTrigger.cs
- ObjectViewQueryResultData.cs
- Substitution.cs
- VirtualPathUtility.cs
- MemberAccessException.cs
- XmlnsDefinitionAttribute.cs
- Int32RectConverter.cs
- GPPOINT.cs
- ASCIIEncoding.cs
- OverrideMode.cs
- Panel.cs
- XPathNavigatorReader.cs
- PriorityRange.cs
- Span.cs
- WebUtil.cs
- BitmapEffectDrawing.cs
- LinkTarget.cs
- MetaData.cs
- WebPartMenu.cs
- LoginViewDesigner.cs
- DynamicValidatorEventArgs.cs
- RowBinding.cs
- InputReferenceExpression.cs
- AssemblyContextControlItem.cs
- SevenBitStream.cs
- MaterialCollection.cs
- HwndPanningFeedback.cs
- XmlAttributeCollection.cs
- DbConnectionClosed.cs
- ClientBuildManager.cs
- MediaPlayer.cs
- EditingCommands.cs
- WebPartDescription.cs
- PlaceHolder.cs
- PropertyMetadata.cs
- EditingMode.cs
- DoubleCollectionConverter.cs
- MultidimensionalArrayItemReference.cs
- SiteMapPath.cs
- BatchParser.cs
- StringComparer.cs
- RecommendedAsConfigurableAttribute.cs
- DispatcherExceptionFilterEventArgs.cs
- ValidationSummaryDesigner.cs
- BinHexEncoder.cs
- Bitmap.cs
- PassportAuthenticationEventArgs.cs
- AmbientProperties.cs
- DrawingAttributesDefaultValueFactory.cs
- Clock.cs
- PlatformNotSupportedException.cs
- SQLInt16Storage.cs
- ToolBarDesigner.cs
- BindingMemberInfo.cs
- DispatcherObject.cs
- DBNull.cs
- UnmanagedBitmapWrapper.cs
- TransactionsSectionGroup.cs
- RuleRefElement.cs
- SymbolType.cs
- MessageQueueTransaction.cs
- _ConnectionGroup.cs
- IODescriptionAttribute.cs
- ScrollBarRenderer.cs
- IntellisenseTextBox.designer.cs
- sortedlist.cs
- DeviceFilterEditorDialog.cs
- PeerNodeAddress.cs
- XmlHierarchyData.cs
- AdCreatedEventArgs.cs
- Win32PrintDialog.cs
- ClientTargetSection.cs
- SessionEndingEventArgs.cs
- BitmapEffectDrawingContextWalker.cs
- ApplicationActivator.cs
- XmlWellformedWriterHelpers.cs
- _AuthenticationState.cs
- IteratorFilter.cs
- RadioButtonRenderer.cs
- BackgroundWorker.cs
- CurrentChangingEventManager.cs
- ScriptIgnoreAttribute.cs
- UTF32Encoding.cs
- WinFormsComponentEditor.cs
- TcpServerChannel.cs
- ReceiveContent.cs
- XmlSchemaImport.cs
- RegularExpressionValidator.cs
- HandlerBase.cs
- NetworkCredential.cs