Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / DataServiceResponse.cs / 1305376 / DataServiceResponse.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// data service response to ExecuteBatch & SaveChanges // //--------------------------------------------------------------------- namespace System.Data.Services.Client { using System.Collections.Generic; ////// Data service response to ExecuteBatch & SaveChanges /// [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 sealed class DataServiceResponse : IEnumerable{ /// Http headers of the response. private Dictionaryheaders; /// Http status code of the response. private int statusCode; ///responses private IEnumerableresponse; /// true if this is a batch response, otherwise false. private bool batchResponse; ////// constructor /// /// HTTP headers /// HTTP status code /// list of responses /// true if this represents a batch response, otherwise false. internal DataServiceResponse(Dictionaryheaders, int statusCode, IEnumerable response, bool batchResponse) { this.headers = headers ?? new Dictionary (EqualityComparer .Default); this.statusCode = statusCode; this.batchResponse = batchResponse; this.response = response; } /// Http headers of the response. public IDictionaryBatchHeaders { get { return this.headers; } } /// Http status code of the response. public int BatchStatusCode { get { return this.statusCode; } } ///Returns true if this is a batch response. Otherwise returns false. public bool IsBatchResponse { get { return this.batchResponse; } } ///Responses of a batch query operation. ///The sequence of respones to operation public IEnumeratorGetEnumerator() { return this.response.GetEnumerator(); } /// Get an enumerator for the OperationResponse. ///an enumerator System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { return this.GetEnumerator(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BuildProviderUtils.cs
- UserControl.cs
- DrawingImage.cs
- OperationFormatStyle.cs
- TimeSpanValidator.cs
- BitVector32.cs
- ContractMapping.cs
- DropDownButton.cs
- MatrixCamera.cs
- AxDesigner.cs
- HierarchicalDataTemplate.cs
- PropertyGridCommands.cs
- ContentType.cs
- ToolStripItemClickedEventArgs.cs
- PassportIdentity.cs
- Cursors.cs
- Wizard.cs
- BmpBitmapEncoder.cs
- PnrpPermission.cs
- StylusPointProperties.cs
- MetadataArtifactLoaderFile.cs
- XmlQualifiedName.cs
- AvTraceDetails.cs
- Site.cs
- Matrix3D.cs
- XmlQueryRuntime.cs
- QueryCacheManager.cs
- LoadMessageLogger.cs
- BoolExpression.cs
- StringFormat.cs
- FixedSOMSemanticBox.cs
- smtppermission.cs
- EventRouteFactory.cs
- WindowsImpersonationContext.cs
- AppDomainManager.cs
- ProfilePropertySettings.cs
- OledbConnectionStringbuilder.cs
- XamlTemplateSerializer.cs
- QuaternionRotation3D.cs
- Effect.cs
- Queue.cs
- DataServiceQueryException.cs
- CodeArrayCreateExpression.cs
- DataServiceStreamResponse.cs
- RTLAwareMessageBox.cs
- SqlNodeAnnotation.cs
- _LocalDataStore.cs
- SqlDataRecord.cs
- DelegatingTypeDescriptionProvider.cs
- Int32Rect.cs
- TextViewBase.cs
- DataGridViewBindingCompleteEventArgs.cs
- EpmAttributeNameBuilder.cs
- MruCache.cs
- TextOptions.cs
- WpfKnownType.cs
- XmlC14NWriter.cs
- OleDbCommand.cs
- GroupItem.cs
- RangeValueProviderWrapper.cs
- COM2ICategorizePropertiesHandler.cs
- XhtmlMobileTextWriter.cs
- RegexMatch.cs
- SByteConverter.cs
- TemplateBindingExtensionConverter.cs
- TypeDependencyAttribute.cs
- WebPartCloseVerb.cs
- FrameworkObject.cs
- ClientConfigurationHost.cs
- XmlFormatMapping.cs
- ImportDesigner.xaml.cs
- StagingAreaInputItem.cs
- HttpProfileBase.cs
- BevelBitmapEffect.cs
- safemediahandle.cs
- FileUtil.cs
- PtsHost.cs
- DesignBindingConverter.cs
- BitVec.cs
- SiteMapNodeItem.cs
- GeometryModel3D.cs
- BrushMappingModeValidation.cs
- SerializableReadOnlyDictionary.cs
- ZipIOExtraFieldPaddingElement.cs
- PluralizationService.cs
- ContextMenuAutomationPeer.cs
- IndexerNameAttribute.cs
- EncryptedKey.cs
- CornerRadiusConverter.cs
- TextEditorMouse.cs
- AssemblyHash.cs
- lengthconverter.cs
- RequestSecurityTokenForGetBrowserToken.cs
- SqlUserDefinedTypeAttribute.cs
- ActivityExecutorOperation.cs
- BuildResult.cs
- NativeCompoundFileAPIs.cs
- ReadOnlyHierarchicalDataSource.cs
- IndependentlyAnimatedPropertyMetadata.cs
- DataGridItemAutomationPeer.cs