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
- ExpressionPrinter.cs
- serverconfig.cs
- CustomErrorsSectionWrapper.cs
- FacetEnabledSchemaElement.cs
- RegexGroupCollection.cs
- _TLSstream.cs
- EasingKeyFrames.cs
- ColumnResult.cs
- ISSmlParser.cs
- WindowsScrollBarBits.cs
- StrokeDescriptor.cs
- Metafile.cs
- __Filters.cs
- ParserContext.cs
- XPathScanner.cs
- LogicalTreeHelper.cs
- XmlCountingReader.cs
- PictureBox.cs
- PropertyGeneratedEventArgs.cs
- Rotation3D.cs
- SortQuery.cs
- InvalidFilterCriteriaException.cs
- XmlException.cs
- CodeEventReferenceExpression.cs
- CacheMemory.cs
- Bezier.cs
- SocketAddress.cs
- InputProcessorProfilesLoader.cs
- XmlDataSource.cs
- Scene3D.cs
- FixedDocumentSequencePaginator.cs
- FontFamilyValueSerializer.cs
- InlineUIContainer.cs
- FixedElement.cs
- EventDrivenDesigner.cs
- RuntimeWrappedException.cs
- WebBrowserUriTypeConverter.cs
- PointConverter.cs
- ActivationService.cs
- DoubleLinkListEnumerator.cs
- COSERVERINFO.cs
- ManifestSignedXml.cs
- MappingMetadataHelper.cs
- EntityStoreSchemaGenerator.cs
- ALinqExpressionVisitor.cs
- GeneralTransform3D.cs
- HttpHandlersSection.cs
- DataGridViewColumn.cs
- CodeIdentifiers.cs
- CatalogZone.cs
- BindingExpressionBase.cs
- InvalidEnumArgumentException.cs
- RsaKeyIdentifierClause.cs
- SqlGenerator.cs
- TreeViewItem.cs
- UniqueIdentifierService.cs
- NoPersistProperty.cs
- XmlHierarchicalEnumerable.cs
- ReferenceEqualityComparer.cs
- CodePrimitiveExpression.cs
- Point3DAnimation.cs
- TextContainerHelper.cs
- PreservationFileReader.cs
- Logging.cs
- UpdatePanelTrigger.cs
- LinkedResourceCollection.cs
- TranslateTransform.cs
- Divide.cs
- ColumnHeaderConverter.cs
- DataTemplateKey.cs
- WebRequestModuleElement.cs
- OleDbInfoMessageEvent.cs
- GACIdentityPermission.cs
- ResponseBodyWriter.cs
- BamlLocalizabilityResolver.cs
- ToolStripItemTextRenderEventArgs.cs
- MemberJoinTreeNode.cs
- EntitySet.cs
- FloaterParagraph.cs
- ISAPIRuntime.cs
- NamespaceEmitter.cs
- DataGridItem.cs
- ActivityBindForm.Designer.cs
- VirtualPathUtility.cs
- ColumnWidthChangingEvent.cs
- SmiMetaDataProperty.cs
- QueryAccessibilityHelpEvent.cs
- SqlOuterApplyReducer.cs
- NopReturnReader.cs
- SslStream.cs
- IdentityReference.cs
- GenericEnumerator.cs
- DateTime.cs
- SQLSingle.cs
- AdapterDictionary.cs
- ConfigsHelper.cs
- Int64KeyFrameCollection.cs
- TypefaceCollection.cs
- DetailsViewRow.cs
- RtfToken.cs