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
- QuaternionAnimation.cs
- ModifierKeysValueSerializer.cs
- OracleRowUpdatingEventArgs.cs
- DateTimeOffsetConverter.cs
- LinkLabelLinkClickedEvent.cs
- LOSFormatter.cs
- Label.cs
- SslStreamSecurityBindingElement.cs
- CodeAssignStatement.cs
- HtmlGenericControl.cs
- Enum.cs
- WsatConfiguration.cs
- SQLBinaryStorage.cs
- GroupByQueryOperator.cs
- DataView.cs
- SQLResource.cs
- Calendar.cs
- TraceUtility.cs
- Int64.cs
- ConnectionsZone.cs
- PackageRelationship.cs
- FixedSchema.cs
- SizeValueSerializer.cs
- SqlCachedBuffer.cs
- FrameworkTemplate.cs
- RowCache.cs
- Matrix.cs
- WaitHandleCannotBeOpenedException.cs
- GridViewColumnHeader.cs
- EUCJPEncoding.cs
- ProcessInputEventArgs.cs
- DataGridViewTextBoxColumn.cs
- FrameSecurityDescriptor.cs
- HighlightComponent.cs
- HtmlFormWrapper.cs
- RootBuilder.cs
- StagingAreaInputItem.cs
- WebAdminConfigurationHelper.cs
- WebPartConnection.cs
- Int32Rect.cs
- BindingManagerDataErrorEventArgs.cs
- KeysConverter.cs
- Hashtable.cs
- Choices.cs
- MimeFormatter.cs
- KnownTypesHelper.cs
- TemplateControl.cs
- BaseTemplateParser.cs
- UInt64Converter.cs
- Animatable.cs
- XmlCollation.cs
- SelectionHighlightInfo.cs
- SqlNodeAnnotations.cs
- InheritanceUI.cs
- ApplicationSecurityManager.cs
- CoTaskMemHandle.cs
- Annotation.cs
- activationcontext.cs
- While.cs
- DecoderReplacementFallback.cs
- PropertyTabAttribute.cs
- ToolStripSettings.cs
- ListViewItemEventArgs.cs
- RetrieveVirtualItemEventArgs.cs
- WindowsScroll.cs
- MissingMemberException.cs
- FormViewDeleteEventArgs.cs
- XmlDocumentFragment.cs
- XmlWrappingWriter.cs
- Rectangle.cs
- NavigationWindowAutomationPeer.cs
- SystemColors.cs
- SystemBrushes.cs
- EntityDesignerUtils.cs
- WhitespaceRuleReader.cs
- nulltextcontainer.cs
- ExtendedPropertyDescriptor.cs
- SqlClientMetaDataCollectionNames.cs
- BitmapEffectRenderDataResource.cs
- Msec.cs
- ContentPlaceHolder.cs
- StrokeSerializer.cs
- Point4D.cs
- DiagnosticSection.cs
- XmlChildEnumerator.cs
- SQLByte.cs
- HighContrastHelper.cs
- CaseCqlBlock.cs
- ToolboxSnapDragDropEventArgs.cs
- XmlCharCheckingWriter.cs
- FocusTracker.cs
- MULTI_QI.cs
- FontStretchConverter.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- ProxyAttribute.cs
- Pts.cs
- CapabilitiesState.cs
- MobileTemplatedControlDesigner.cs
- PagedDataSource.cs
- BufferAllocator.cs