Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- LoginView.cs
- SoapDocumentMethodAttribute.cs
- LOSFormatter.cs
- ObjectView.cs
- RepeatBehaviorConverter.cs
- ListBoxItemWrapperAutomationPeer.cs
- DesignerGenericWebPart.cs
- FlowDocumentFormatter.cs
- Label.cs
- PropertyGridEditorPart.cs
- CompositeTypefaceMetrics.cs
- StrokeCollection.cs
- RuntimeIdentifierPropertyAttribute.cs
- XmlStringTable.cs
- XmlDataImplementation.cs
- CheckoutException.cs
- ConnectionManagementElement.cs
- ConcurrentBag.cs
- QuarticEase.cs
- CacheMemory.cs
- XamlTreeBuilder.cs
- AbstractDataSvcMapFileLoader.cs
- PointConverter.cs
- ReadOnlyCollectionBase.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- XmlSchemaSet.cs
- StorageEntityContainerMapping.cs
- PhonemeConverter.cs
- EventEntry.cs
- XmlNamespaceDeclarationsAttribute.cs
- PathFigureCollection.cs
- WinInet.cs
- _NtlmClient.cs
- CanExecuteRoutedEventArgs.cs
- SupportsEventValidationAttribute.cs
- TableLayoutSettingsTypeConverter.cs
- XmlText.cs
- RenderDataDrawingContext.cs
- ObjectDataSourceDisposingEventArgs.cs
- StrongNameKeyPair.cs
- propertytag.cs
- XslNumber.cs
- BinHexEncoding.cs
- QuerySettings.cs
- ToolboxItemCollection.cs
- ScriptServiceAttribute.cs
- MethodAccessException.cs
- WorkflowServiceBehavior.cs
- LineBreakRecord.cs
- DataGridViewRowConverter.cs
- BamlTreeUpdater.cs
- Int64.cs
- MetadataUtil.cs
- PageFunction.cs
- DockEditor.cs
- GenericEnumerator.cs
- CheckBoxList.cs
- SqlHelper.cs
- TransportElement.cs
- TextRangeProviderWrapper.cs
- CqlIdentifiers.cs
- CompletionProxy.cs
- CustomTrackingQuery.cs
- DoubleLinkListEnumerator.cs
- WmlControlAdapter.cs
- WindowsFormsEditorServiceHelper.cs
- WebPartVerbCollection.cs
- SecurityElement.cs
- CodeArrayCreateExpression.cs
- DbConnectionPoolGroup.cs
- DataFormat.cs
- UniqueIdentifierService.cs
- IPGlobalProperties.cs
- TreeNodeStyleCollectionEditor.cs
- WeakHashtable.cs
- Pointer.cs
- InheritedPropertyChangedEventArgs.cs
- WebPartsSection.cs
- XhtmlConformanceSection.cs
- ScrollBarAutomationPeer.cs
- ResXResourceWriter.cs
- EncoderBestFitFallback.cs
- CancelRequestedRecord.cs
- StringOutput.cs
- IItemProperties.cs
- DynamicDiscoSearcher.cs
- ImageMap.cs
- DesignerSerializationOptionsAttribute.cs
- CharacterBuffer.cs
- CodeParameterDeclarationExpression.cs
- StackSpiller.Temps.cs
- WinInetCache.cs
- Exceptions.cs
- NonParentingControl.cs
- Internal.cs
- InputBuffer.cs
- KnownBoxes.cs
- StylusPointProperties.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- ToolStripPanelSelectionGlyph.cs