Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / OperationResponse.cs / 1 / 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
- OutputCacheProfile.cs
- HeaderUtility.cs
- ModulesEntry.cs
- StoreContentChangedEventArgs.cs
- DrawListViewColumnHeaderEventArgs.cs
- VectorKeyFrameCollection.cs
- QueuePathEditor.cs
- Clause.cs
- PersonalizationStateInfo.cs
- StrongTypingException.cs
- TextViewBase.cs
- TextViewSelectionProcessor.cs
- RecognizerStateChangedEventArgs.cs
- SafeNativeMethods.cs
- DataGridColumn.cs
- BaseCollection.cs
- MetadataCollection.cs
- _LocalDataStore.cs
- WebPartManagerInternals.cs
- AppDomainUnloadedException.cs
- NonVisualControlAttribute.cs
- IListConverters.cs
- SafeEventHandle.cs
- DependencyProperty.cs
- HexParser.cs
- TypeForwardedToAttribute.cs
- HyperLinkField.cs
- PackageDigitalSignature.cs
- ServiceReference.cs
- EUCJPEncoding.cs
- DataServiceQueryProvider.cs
- ContextMarshalException.cs
- DeobfuscatingStream.cs
- TableDetailsRow.cs
- ITreeGenerator.cs
- ProgressChangedEventArgs.cs
- SafeNativeMethods.cs
- While.cs
- DesignerSerializationVisibilityAttribute.cs
- Rotation3DKeyFrameCollection.cs
- ObjectSecurity.cs
- AttributeCollection.cs
- SrgsText.cs
- PermissionSetTriple.cs
- XmlSchemaObjectCollection.cs
- IisTraceListener.cs
- Point3D.cs
- FileRecordSequenceHelper.cs
- MeasureItemEvent.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- ConstrainedDataObject.cs
- TextViewSelectionProcessor.cs
- LazyTextWriterCreator.cs
- PositiveTimeSpanValidator.cs
- WebPartCloseVerb.cs
- sqlinternaltransaction.cs
- FontConverter.cs
- BamlVersionHeader.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- followingsibling.cs
- InputMethodStateChangeEventArgs.cs
- XmlChoiceIdentifierAttribute.cs
- XsdBuildProvider.cs
- Partitioner.cs
- HtmlProps.cs
- ChunkedMemoryStream.cs
- ReliableRequestSessionChannel.cs
- AuthorizationContext.cs
- CqlQuery.cs
- AccessKeyManager.cs
- RowVisual.cs
- assertwrapper.cs
- EntityStoreSchemaFilterEntry.cs
- MemberCollection.cs
- FormViewInsertEventArgs.cs
- InvokeProviderWrapper.cs
- IPCCacheManager.cs
- CryptoSession.cs
- ValidatorUtils.cs
- StreamingContext.cs
- ByteStreamMessageEncoder.cs
- ProcessHostServerConfig.cs
- ScaleTransform3D.cs
- ValueConversionAttribute.cs
- Label.cs
- RootBrowserWindowAutomationPeer.cs
- ListControlConvertEventArgs.cs
- MetadataCacheItem.cs
- BindingNavigator.cs
- CompositeCollection.cs
- ProxyManager.cs
- IISMapPath.cs
- DataGridView.cs
- FormatVersion.cs
- KerberosSecurityTokenProvider.cs
- ContentDisposition.cs
- SystemIPInterfaceStatistics.cs
- CodeCatchClauseCollection.cs
- DbConnectionPoolIdentity.cs
- DataObject.cs