Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Protocols / TextReturnReader.cs / 1305376 / TextReturnReader.cs
namespace System.Web.Services.Protocols { using System.IO; using System; using System.Web.Services; using System.Text; using System.Net; using System.Security.Permissions; ///[PermissionSet(SecurityAction.InheritanceDemand, Name="FullTrust")] public class TextReturnReader : MimeReturnReader { PatternMatcher matcher; /// public override void Initialize(object o) { matcher = (PatternMatcher)o; } /// public override object GetInitializer(LogicalMethodInfo methodInfo) { return new PatternMatcher(methodInfo.ReturnType); } /// public override object Read(WebResponse response, Stream responseStream) { try { string decodedString = RequestResponseUtils.ReadResponse(response); return matcher.Match(decodedString); } finally { response.Close(); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Preprocessor.cs
- XmlEncodedRawTextWriter.cs
- ControlPaint.cs
- StorageAssociationTypeMapping.cs
- InputProcessorProfilesLoader.cs
- SqlNotificationRequest.cs
- ActionMessageFilter.cs
- OutputCache.cs
- EDesignUtil.cs
- DataMisalignedException.cs
- CodeStatement.cs
- SparseMemoryStream.cs
- Wizard.cs
- ArgumentDirectionHelper.cs
- CustomBinding.cs
- ManipulationStartedEventArgs.cs
- sqlmetadatafactory.cs
- MultiTargetingUtil.cs
- ActiveXHost.cs
- NotFiniteNumberException.cs
- EdgeModeValidation.cs
- ConnectionManagementElement.cs
- RightsManagementEncryptionTransform.cs
- HatchBrush.cs
- SchemaNamespaceManager.cs
- ResourceExpression.cs
- ArglessEventHandlerProxy.cs
- TransformPatternIdentifiers.cs
- DataGridColumn.cs
- SiteMembershipCondition.cs
- DesignerPerfEventProvider.cs
- TreeBuilderBamlTranslator.cs
- ImageAnimator.cs
- OutputCacheSettingsSection.cs
- TileBrush.cs
- ObjectParameter.cs
- RequestNavigateEventArgs.cs
- HttpFileCollectionWrapper.cs
- XappLauncher.cs
- ObjectListShowCommandsEventArgs.cs
- SHA1CryptoServiceProvider.cs
- BamlTreeUpdater.cs
- Message.cs
- CompatibleIComparer.cs
- SecurityNegotiationException.cs
- LocatorBase.cs
- TextBlockAutomationPeer.cs
- PropertyPath.cs
- TogglePattern.cs
- MulticastDelegate.cs
- CaseCqlBlock.cs
- PreviewKeyDownEventArgs.cs
- TextTreeRootTextBlock.cs
- MLangCodePageEncoding.cs
- ArrayConverter.cs
- ListDictionaryInternal.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- Collection.cs
- ImageAutomationPeer.cs
- ComPlusSynchronizationContext.cs
- SqlUdtInfo.cs
- Random.cs
- DataRow.cs
- ResourceDescriptionAttribute.cs
- Rotation3D.cs
- EntityClientCacheEntry.cs
- CodeStatementCollection.cs
- XmlStreamNodeWriter.cs
- Helper.cs
- RightsManagementProvider.cs
- MaskedTextBox.cs
- DataViewManagerListItemTypeDescriptor.cs
- TextEndOfLine.cs
- PartitionResolver.cs
- TemplateComponentConnector.cs
- TaskFileService.cs
- ScrollableControl.cs
- AudioFormatConverter.cs
- X509ThumbprintKeyIdentifierClause.cs
- SponsorHelper.cs
- ConfigXmlText.cs
- BrowsableAttribute.cs
- StreamInfo.cs
- DataGridTableCollection.cs
- TextProperties.cs
- Run.cs
- HwndHostAutomationPeer.cs
- DependencyPropertyHelper.cs
- SiteMapNode.cs
- UnionCodeGroup.cs
- FontSourceCollection.cs
- LinqToSqlWrapper.cs
- CodeMethodMap.cs
- SelectionItemProviderWrapper.cs
- StopRoutingHandler.cs
- ScrollChrome.cs
- SQLInt32.cs
- SuspendDesigner.cs
- ToolStripItemBehavior.cs
- SatelliteContractVersionAttribute.cs