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
- ProxyGenerator.cs
- TextEditorMouse.cs
- GenericRootAutomationPeer.cs
- _ContextAwareResult.cs
- ServiceNameElementCollection.cs
- SafeNativeMethods.cs
- RegexBoyerMoore.cs
- ToolTipService.cs
- GPPOINT.cs
- StylusPointPropertyUnit.cs
- PieceNameHelper.cs
- LinearKeyFrames.cs
- DispatcherExceptionFilterEventArgs.cs
- SqlMetaData.cs
- TextComposition.cs
- ZipIOLocalFileBlock.cs
- FontFamilyConverter.cs
- CompoundFileDeflateTransform.cs
- SubMenuStyleCollection.cs
- NamedPermissionSet.cs
- FreezableOperations.cs
- AttachedAnnotationChangedEventArgs.cs
- WindowsStartMenu.cs
- SoapIgnoreAttribute.cs
- CharEntityEncoderFallback.cs
- ServiceModelSectionGroup.cs
- TransformValueSerializer.cs
- Serializer.cs
- ApplicationFileParser.cs
- PrintSystemException.cs
- ValuePattern.cs
- ClientBuildManagerCallback.cs
- DesignerView.cs
- AlignmentXValidation.cs
- InkCanvasSelectionAdorner.cs
- SmiMetaDataProperty.cs
- NamedElement.cs
- NullRuntimeConfig.cs
- CallbackException.cs
- HostVisual.cs
- NeutralResourcesLanguageAttribute.cs
- ScriptingAuthenticationServiceSection.cs
- PackageRelationship.cs
- RuntimeEnvironment.cs
- RuntimeHandles.cs
- SHA512.cs
- UInt16Storage.cs
- SqlServices.cs
- CollectionsUtil.cs
- MsiStyleLogWriter.cs
- SecurityStandardsManager.cs
- AcceptorSessionSymmetricMessageSecurityProtocol.cs
- LinkAreaEditor.cs
- HttpListenerContext.cs
- DiscreteKeyFrames.cs
- KeyBinding.cs
- DataGridAddNewRow.cs
- AdornerPresentationContext.cs
- RegionIterator.cs
- SimpleType.cs
- GradientBrush.cs
- parserscommon.cs
- TextContainerChangeEventArgs.cs
- BooleanSwitch.cs
- CommandPlan.cs
- BitmapMetadataEnumerator.cs
- ProfileSettingsCollection.cs
- FormatPage.cs
- ToolStripPanel.cs
- ModelItem.cs
- MethodBuilderInstantiation.cs
- ItemsControl.cs
- DataGridTextBoxColumn.cs
- _HeaderInfo.cs
- SecurityTokenException.cs
- DefaultHttpHandler.cs
- XamlPoint3DCollectionSerializer.cs
- BitVec.cs
- SQLSingle.cs
- GraphicsPath.cs
- BaseCodePageEncoding.cs
- WindowsListViewItem.cs
- RegexRunnerFactory.cs
- FormViewDesigner.cs
- InputManager.cs
- QuaternionAnimationBase.cs
- XamlVector3DCollectionSerializer.cs
- PeerPresenceInfo.cs
- BatchServiceHost.cs
- ObjectDataProvider.cs
- ExtendedPropertyInfo.cs
- Axis.cs
- CodeDirectionExpression.cs
- EncoderFallback.cs
- PrintPreviewDialog.cs
- Activator.cs
- AttachedPropertyMethodSelector.cs
- SQLBytes.cs
- ConfigurationSettings.cs
- GridViewHeaderRowPresenter.cs