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
- ETagAttribute.cs
- ScrollBar.cs
- DocumentViewerConstants.cs
- SqlErrorCollection.cs
- assemblycache.cs
- GlobalAllocSafeHandle.cs
- ListViewDataItem.cs
- Rfc2898DeriveBytes.cs
- CheckBoxList.cs
- XMLSchema.cs
- TransformGroup.cs
- _HelperAsyncResults.cs
- SafeNativeMethodsCLR.cs
- ZipPackagePart.cs
- BookmarkScope.cs
- XpsImageSerializationService.cs
- XmlDataImplementation.cs
- OutputCacheSettings.cs
- WebPartEditorApplyVerb.cs
- HeaderedItemsControl.cs
- XmlSequenceWriter.cs
- DBCSCodePageEncoding.cs
- UnitySerializationHolder.cs
- CorrelationTokenInvalidatedHandler.cs
- DeleteBookmarkScope.cs
- ConversionValidationRule.cs
- RemotingServices.cs
- CodeDomComponentSerializationService.cs
- IdentifierService.cs
- CqlLexerHelpers.cs
- WpfWebRequestHelper.cs
- Int64Converter.cs
- XD.cs
- AuthenticationService.cs
- Crc32Helper.cs
- _BufferOffsetSize.cs
- WebPartConnectionsDisconnectVerb.cs
- COM2AboutBoxPropertyDescriptor.cs
- HttpHandlerActionCollection.cs
- DragEventArgs.cs
- Ray3DHitTestResult.cs
- Expressions.cs
- UidManager.cs
- ParenthesizePropertyNameAttribute.cs
- Style.cs
- MasterPageCodeDomTreeGenerator.cs
- _NestedMultipleAsyncResult.cs
- LabelAutomationPeer.cs
- RoutingExtension.cs
- SmtpClient.cs
- XmlNamespaceMapping.cs
- Queue.cs
- XmlDesigner.cs
- ConfigurationConverterBase.cs
- SecurityTokenAuthenticator.cs
- XamlBuildTaskServices.cs
- Simplifier.cs
- BaseDataList.cs
- DbQueryCommandTree.cs
- SspiHelper.cs
- ZipIOFileItemStream.cs
- BufferBuilder.cs
- CheckBoxAutomationPeer.cs
- ADMembershipProvider.cs
- SBCSCodePageEncoding.cs
- OleDbSchemaGuid.cs
- FixedNode.cs
- RelationshipEnd.cs
- XmlSchemaComplexType.cs
- SoapInteropTypes.cs
- GridViewPageEventArgs.cs
- DispatcherOperation.cs
- SoapServerProtocol.cs
- Viewport3DAutomationPeer.cs
- ReservationNotFoundException.cs
- BitmapMetadataBlob.cs
- DocumentPaginator.cs
- Tuple.cs
- AsyncStreamReader.cs
- SafeMarshalContext.cs
- HMACRIPEMD160.cs
- isolationinterop.cs
- RealProxy.cs
- RowUpdatedEventArgs.cs
- ProfilePropertyNameValidator.cs
- DesignUtil.cs
- ObjectDataSourceDisposingEventArgs.cs
- FormViewInsertedEventArgs.cs
- SequentialOutput.cs
- AdPostCacheSubstitution.cs
- ArglessEventHandlerProxy.cs
- EDesignUtil.cs
- Button.cs
- FileReservationCollection.cs
- DataTemplateKey.cs
- Pen.cs
- DataContractJsonSerializer.cs
- PlainXmlSerializer.cs
- ManagementOperationWatcher.cs
- TypeSystemHelpers.cs