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
- CursorInteropHelper.cs
- XmlSchemaSubstitutionGroup.cs
- DBDataPermissionAttribute.cs
- SqlVersion.cs
- CredentialSelector.cs
- DesigntimeLicenseContextSerializer.cs
- MouseEvent.cs
- VectorAnimation.cs
- FixedPageStructure.cs
- SortableBindingList.cs
- MetadataArtifactLoaderComposite.cs
- QilInvokeEarlyBound.cs
- TextEffect.cs
- TextTreeDeleteContentUndoUnit.cs
- LZCodec.cs
- BaseCollection.cs
- WindowInteropHelper.cs
- ContractInferenceHelper.cs
- PolyQuadraticBezierSegment.cs
- EmptyEnumerable.cs
- UIElement3D.cs
- TreeNodeStyle.cs
- SchemaConstraints.cs
- COM2PropertyDescriptor.cs
- _NestedMultipleAsyncResult.cs
- SelectionItemProviderWrapper.cs
- Positioning.cs
- AmbientProperties.cs
- HtmlTextArea.cs
- ProcessRequestArgs.cs
- AlgoModule.cs
- AccessDataSource.cs
- DataGridHeaderBorder.cs
- SerializationEventsCache.cs
- ModuleBuilder.cs
- ListBox.cs
- PropertyTab.cs
- CollectionEditVerbManager.cs
- Part.cs
- SiteMapDataSourceDesigner.cs
- URLAttribute.cs
- CompositeControlDesigner.cs
- CodeObject.cs
- Function.cs
- TabControlCancelEvent.cs
- TextEditor.cs
- XmlObjectSerializerReadContextComplexJson.cs
- OutputCacheSettings.cs
- WebContext.cs
- ProgressPage.cs
- ProfileGroupSettings.cs
- CmsInterop.cs
- TrackingMemoryStream.cs
- KeyConverter.cs
- MissingMemberException.cs
- AssemblyAssociatedContentFileAttribute.cs
- WebPartCatalogAddVerb.cs
- _Rfc2616CacheValidators.cs
- ItemAutomationPeer.cs
- BitmapEffectrendercontext.cs
- GroupStyle.cs
- CatalogZone.cs
- DefaultAsyncDataDispatcher.cs
- ModelItemImpl.cs
- ApplicationGesture.cs
- StringToken.cs
- VSDExceptions.cs
- DateTimeOffset.cs
- Screen.cs
- XsltException.cs
- SqlErrorCollection.cs
- OleDbConnectionFactory.cs
- XmlDataSourceNodeDescriptor.cs
- ObjectHandle.cs
- BidPrivateBase.cs
- Helpers.cs
- TextRange.cs
- ToggleProviderWrapper.cs
- MaskedTextProvider.cs
- MimeXmlImporter.cs
- IncrementalCompileAnalyzer.cs
- SQLDoubleStorage.cs
- XmlElementAttributes.cs
- RootDesignerSerializerAttribute.cs
- CodeStatementCollection.cs
- CommonDialog.cs
- IndependentlyAnimatedPropertyMetadata.cs
- DataGridViewColumn.cs
- WindowsGraphicsWrapper.cs
- ListChangedEventArgs.cs
- StrongName.cs
- DependentList.cs
- Activator.cs
- EndpointDiscoveryMetadata.cs
- OperationCanceledException.cs
- MultiDataTrigger.cs
- RecognitionEventArgs.cs
- MatrixTransform3D.cs
- SqlMethodTransformer.cs
- TypeToArgumentTypeConverter.cs