Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TypeConverterHelper.cs
- ProjectionPruner.cs
- DotExpr.cs
- ValidationSummary.cs
- TextModifierScope.cs
- AdornedElementPlaceholder.cs
- DBNull.cs
- PointCollectionValueSerializer.cs
- SelectionItemProviderWrapper.cs
- LicenseManager.cs
- PackWebRequestFactory.cs
- PublisherMembershipCondition.cs
- SqlNode.cs
- TripleDES.cs
- ResourceIDHelper.cs
- MultiSelectRootGridEntry.cs
- Color.cs
- Stroke.cs
- LogReserveAndAppendState.cs
- PageFunction.cs
- SecureUICommand.cs
- SafeArrayTypeMismatchException.cs
- ObjectToModelValueConverter.cs
- ExtensibleClassFactory.cs
- PropertyKey.cs
- Identity.cs
- ItemMap.cs
- UInt32.cs
- UIInitializationException.cs
- CommandEventArgs.cs
- Dynamic.cs
- EntryPointNotFoundException.cs
- OdbcConnectionOpen.cs
- FixUp.cs
- TreeIterator.cs
- CopyCodeAction.cs
- DiscoveryMessageSequenceGenerator.cs
- NumericUpDown.cs
- EpmTargetTree.cs
- CodeValidator.cs
- DeviceSpecific.cs
- NullableIntAverageAggregationOperator.cs
- TemplateBuilder.cs
- CharacterHit.cs
- ItemAutomationPeer.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- RemoteEndpointMessageProperty.cs
- ChangePassword.cs
- x509store.cs
- xmlfixedPageInfo.cs
- SqlBulkCopy.cs
- EventEntry.cs
- CodeMethodInvokeExpression.cs
- XmlSchemaInferenceException.cs
- SoapFormatExtensions.cs
- XmlSchemaRedefine.cs
- CodeGroup.cs
- LocalizableResourceBuilder.cs
- QueryPageSettingsEventArgs.cs
- MissingSatelliteAssemblyException.cs
- DataSourceView.cs
- FormatConvertedBitmap.cs
- InputReportEventArgs.cs
- Int32KeyFrameCollection.cs
- IfAction.cs
- ModelFunction.cs
- Action.cs
- CodeExpressionCollection.cs
- XmlSchemaAppInfo.cs
- ACL.cs
- ListViewUpdatedEventArgs.cs
- FieldBuilder.cs
- BindUriHelper.cs
- StorageEndPropertyMapping.cs
- SQLResource.cs
- SqlInfoMessageEvent.cs
- bidPrivateBase.cs
- HtmlElementCollection.cs
- ColorDialog.cs
- InstanceLockQueryResult.cs
- Options.cs
- DataTableReader.cs
- XmlSchemaSimpleContentExtension.cs
- ZipIOBlockManager.cs
- RowBinding.cs
- SafeThreadHandle.cs
- FixedSOMGroup.cs
- ExplicitDiscriminatorMap.cs
- PrintingPermissionAttribute.cs
- ColorContextHelper.cs
- TraceSwitch.cs
- ConstraintStruct.cs
- SelectionProcessor.cs
- IncrementalCompileAnalyzer.cs
- ParsedRoute.cs
- WebPartChrome.cs
- Point3DCollection.cs
- SqlEnums.cs
- BrushValueSerializer.cs
- FileUtil.cs