Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- NativeMethods.cs
- PasswordDeriveBytes.cs
- FactorySettingsElement.cs
- And.cs
- StyleSheet.cs
- StrongTypingException.cs
- LineInfo.cs
- QueueProcessor.cs
- FontCollection.cs
- ValidationHelpers.cs
- ResXBuildProvider.cs
- StorageEndPropertyMapping.cs
- PartialCachingAttribute.cs
- StreamGeometry.cs
- HttpModule.cs
- ColorContextHelper.cs
- _ConnectStream.cs
- PageThemeBuildProvider.cs
- EnumMemberAttribute.cs
- RuleSetDialog.cs
- safelinkcollection.cs
- StaticDataManager.cs
- _ConnectStream.cs
- MenuItemCollection.cs
- PermissionSet.cs
- MtomMessageEncodingBindingElement.cs
- ValidationErrorCollection.cs
- ContentHostHelper.cs
- XPathDocumentIterator.cs
- mactripleDES.cs
- CustomErrorsSection.cs
- ControlPaint.cs
- OleDbEnumerator.cs
- RegexCompiler.cs
- WorkflowInstanceRecord.cs
- WrappedKeySecurityToken.cs
- Registry.cs
- XmlSchemaInfo.cs
- DbConnectionStringBuilder.cs
- TrackBar.cs
- AssertFilter.cs
- Int32KeyFrameCollection.cs
- CodeActivityContext.cs
- BooleanAnimationBase.cs
- BindingExpressionUncommonField.cs
- Byte.cs
- KeyboardEventArgs.cs
- AssemblyAttributes.cs
- Profiler.cs
- RelativeSource.cs
- GenericXmlSecurityToken.cs
- CookielessHelper.cs
- DataGridViewTextBoxColumn.cs
- ProjectionNode.cs
- ClientEndpointLoader.cs
- EnumType.cs
- BinaryOperationBinder.cs
- UrlMappingsModule.cs
- InputBinder.cs
- ObjectItemLoadingSessionData.cs
- HintTextConverter.cs
- ApplicationDirectoryMembershipCondition.cs
- WebPartsPersonalization.cs
- CancelEventArgs.cs
- MonitorWrapper.cs
- LinkUtilities.cs
- URI.cs
- RawTextInputReport.cs
- DataRelation.cs
- QilIterator.cs
- OverrideMode.cs
- ServiceObjectContainer.cs
- ProgressChangedEventArgs.cs
- unitconverter.cs
- _ListenerResponseStream.cs
- DocumentPaginator.cs
- iisPickupDirectory.cs
- TextElementEnumerator.cs
- isolationinterop.cs
- Soap.cs
- SystemUnicastIPAddressInformation.cs
- PhoneCall.cs
- ArglessEventHandlerProxy.cs
- SerTrace.cs
- QueryStringConverter.cs
- IRCollection.cs
- BaseCollection.cs
- RequestStatusBarUpdateEventArgs.cs
- WebPartConnectionsCancelVerb.cs
- ExtendedProtectionPolicyTypeConverter.cs
- BackgroundWorker.cs
- Variable.cs
- PaintEvent.cs
- DataGridView.cs
- LinqDataSourceValidationException.cs
- SubMenuStyle.cs
- SeekableMessageNavigator.cs
- ConversionContext.cs
- TabletCollection.cs
- DoubleCollection.cs