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
- SendKeys.cs
- FlowDocumentView.cs
- IFormattable.cs
- GeneralTransform3DCollection.cs
- PointLight.cs
- XpsS0ValidatingLoader.cs
- HtmlWindowCollection.cs
- StreamGeometryContext.cs
- LineGeometry.cs
- TransformCryptoHandle.cs
- ImpersonationContext.cs
- MouseOverProperty.cs
- InputScopeManager.cs
- SendKeys.cs
- MessageEnumerator.cs
- EventLogPermission.cs
- LocalIdKeyIdentifierClause.cs
- CodeExporter.cs
- PathData.cs
- SqlAliaser.cs
- ListItemParagraph.cs
- BitStream.cs
- GZipStream.cs
- Geometry3D.cs
- HttpTransportElement.cs
- Serializer.cs
- ValueUtilsSmi.cs
- Stroke2.cs
- PenThreadWorker.cs
- InputManager.cs
- CounterNameConverter.cs
- XamlLoadErrorInfo.cs
- ParallelLoopState.cs
- XPathDescendantIterator.cs
- Processor.cs
- CompilationRelaxations.cs
- Package.cs
- BinarySerializer.cs
- AttachedPropertiesService.cs
- FieldMetadata.cs
- ShapingEngine.cs
- MaskedTextBoxDesigner.cs
- AssertValidation.cs
- OleDbMetaDataFactory.cs
- OperationInvokerTrace.cs
- FormClosingEvent.cs
- ButtonFlatAdapter.cs
- Lasso.cs
- SkipQueryOptionExpression.cs
- ToolStripComboBox.cs
- WebPartCollection.cs
- Operator.cs
- CreateUserWizardStep.cs
- SqlCacheDependency.cs
- SignatureResourceHelper.cs
- RequestQueue.cs
- ConnectionManagementElement.cs
- Single.cs
- CustomSignedXml.cs
- ImageSource.cs
- MatrixTransform.cs
- SoapParser.cs
- ObjectQueryExecutionPlan.cs
- StorageMappingFragment.cs
- ConfigXmlWhitespace.cs
- FormsAuthenticationUserCollection.cs
- TrackingStringDictionary.cs
- ColorTransform.cs
- MembershipValidatePasswordEventArgs.cs
- NonSerializedAttribute.cs
- FormsAuthenticationConfiguration.cs
- BindingOperations.cs
- CTreeGenerator.cs
- FormViewInsertEventArgs.cs
- ControlValuePropertyAttribute.cs
- InvalidPrinterException.cs
- SiteOfOriginPart.cs
- TwoPhaseCommitProxy.cs
- TemplateField.cs
- TdsParserStaticMethods.cs
- UdpDiscoveryMessageFilter.cs
- HttpModulesSection.cs
- UniqueTransportManagerRegistration.cs
- SmiRequestExecutor.cs
- DivideByZeroException.cs
- ContainerUIElement3D.cs
- TableDetailsRow.cs
- ToolStripRenderer.cs
- MainMenu.cs
- VariableAction.cs
- PreProcessor.cs
- BuildProviderAppliesToAttribute.cs
- LoginName.cs
- FrameworkContentElement.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- QueueProcessor.cs
- ObjectDesignerDataSourceView.cs
- MenuCommand.cs
- DrawingDrawingContext.cs
- TdsEnums.cs