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
- EntityConnectionStringBuilderItem.cs
- BlurEffect.cs
- XmlUrlResolver.cs
- EntityStoreSchemaGenerator.cs
- SettingsProviderCollection.cs
- LocalValueEnumerator.cs
- DateTimeConverter.cs
- PrimitiveSchema.cs
- NamespaceQuery.cs
- HeaderCollection.cs
- ErrorWebPart.cs
- WmlCommandAdapter.cs
- TimeoutException.cs
- SqlProviderServices.cs
- COM2ColorConverter.cs
- ImageCodecInfoPrivate.cs
- XmlSerializationWriter.cs
- EntityStoreSchemaFilterEntry.cs
- ConfigurationLocation.cs
- ToolboxItemFilterAttribute.cs
- EraserBehavior.cs
- FileDetails.cs
- SqlDataSourceCache.cs
- MetafileHeaderWmf.cs
- CancellationTokenRegistration.cs
- Roles.cs
- IdentityModelStringsVersion1.cs
- GCHandleCookieTable.cs
- safelink.cs
- PropertyTabAttribute.cs
- DefaultAuthorizationContext.cs
- Panel.cs
- ObsoleteAttribute.cs
- PropertyPathConverter.cs
- TraceHandlerErrorFormatter.cs
- BrowserDefinition.cs
- DbConnectionClosed.cs
- DataReaderContainer.cs
- DeploymentExceptionMapper.cs
- BinaryObjectReader.cs
- FixedDSBuilder.cs
- MenuStrip.cs
- WebPartDescription.cs
- Enum.cs
- RequestCacheManager.cs
- StyleHelper.cs
- Stroke2.cs
- Codec.cs
- ValueSerializerAttribute.cs
- SecurityManager.cs
- BindStream.cs
- Size.cs
- _ListenerAsyncResult.cs
- PositiveTimeSpanValidator.cs
- BooleanStorage.cs
- StorageComplexPropertyMapping.cs
- PriorityQueue.cs
- StringUtil.cs
- Brushes.cs
- PointAnimationClockResource.cs
- SinglePhaseEnlistment.cs
- EpmCustomContentDeSerializer.cs
- SiteMapPath.cs
- LinearGradientBrush.cs
- XmlnsCache.cs
- PageHandlerFactory.cs
- TextComposition.cs
- TreeNodeCollection.cs
- ResumeStoryboard.cs
- Translator.cs
- QilReference.cs
- WebPartsPersonalizationAuthorization.cs
- PreloadHost.cs
- HttpsChannelListener.cs
- AsyncDataRequest.cs
- ClientSponsor.cs
- TabControl.cs
- FontDifferentiator.cs
- Tracking.cs
- OptimisticConcurrencyException.cs
- ArrayListCollectionBase.cs
- log.cs
- FloatUtil.cs
- SHA256.cs
- HwndKeyboardInputProvider.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- CompilationLock.cs
- HwndHost.cs
- GroupDescription.cs
- Dictionary.cs
- NetCodeGroup.cs
- ObjectDataSourceEventArgs.cs
- ClientReliableChannelBinder.cs
- PocoPropertyAccessorStrategy.cs
- UniqueIdentifierService.cs
- DateTimeFormat.cs
- XPathNodeHelper.cs
- Deflater.cs
- InputScopeAttribute.cs
- GCHandleCookieTable.cs