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 / SendingRequestEventArgs.cs / 1 / SendingRequestEventArgs.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Event args for the event fired before executing a web request. Gives a // chance to customize or replace the request object to be used. // //--------------------------------------------------------------------- namespace System.Data.Services.Client { using System; using System.Net; ////// Event args for the event fired before executing a web request. Gives a /// chance to customize or replace the request object to be used. /// public class SendingRequestEventArgs : EventArgs { ///The web request reported through this event private WebRequest request; ////// Constructor /// /// The request reported through this event internal SendingRequestEventArgs(WebRequest request) { this.request = request; } ///The web request reported through this event. The handler may modify or replace it. public WebRequest Request { get { return this.request; } set { Util.CheckArgumentNull(value, "value"); if (!(value is HttpWebRequest)) { throw Error.Argument(Strings.Context_SendingRequestEventArgsNotHttp, "value"); } this.request = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Event args for the event fired before executing a web request. Gives a // chance to customize or replace the request object to be used. // //--------------------------------------------------------------------- namespace System.Data.Services.Client { using System; using System.Net; ////// Event args for the event fired before executing a web request. Gives a /// chance to customize or replace the request object to be used. /// public class SendingRequestEventArgs : EventArgs { ///The web request reported through this event private WebRequest request; ////// Constructor /// /// The request reported through this event internal SendingRequestEventArgs(WebRequest request) { this.request = request; } ///The web request reported through this event. The handler may modify or replace it. public WebRequest Request { get { return this.request; } set { Util.CheckArgumentNull(value, "value"); if (!(value is HttpWebRequest)) { throw Error.Argument(Strings.Context_SendingRequestEventArgsNotHttp, "value"); } this.request = 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
- DomNameTable.cs
- CustomTypeDescriptor.cs
- Point3DCollection.cs
- BaseParser.cs
- DeferredTextReference.cs
- ResourceBinder.cs
- PaintValueEventArgs.cs
- SortAction.cs
- SqlInternalConnectionTds.cs
- FileRecordSequenceCompletedAsyncResult.cs
- LocalizationComments.cs
- FloaterBaseParaClient.cs
- VerificationAttribute.cs
- Attributes.cs
- CurrencyManager.cs
- StandardRuntimeEnumValidator.cs
- ExpressionBuilderCollection.cs
- SmiXetterAccessMap.cs
- DesignerDataStoredProcedure.cs
- SiteMapPath.cs
- FixedSOMSemanticBox.cs
- SoapExtension.cs
- TextEffect.cs
- ToolboxDataAttribute.cs
- SafeFileMappingHandle.cs
- SizeConverter.cs
- DataDocumentXPathNavigator.cs
- UIAgentAsyncParams.cs
- PathFigure.cs
- ObjectParameter.cs
- TextContainerChangedEventArgs.cs
- NotFiniteNumberException.cs
- EncodingTable.cs
- DynamicRenderer.cs
- CodeNamespaceImport.cs
- TypefaceMetricsCache.cs
- SignatureHelper.cs
- AuthenticatedStream.cs
- CurrencyManager.cs
- DropShadowEffect.cs
- PolicyStatement.cs
- RootCodeDomSerializer.cs
- RsaSecurityTokenParameters.cs
- Geometry.cs
- AuthenticationConfig.cs
- RuntimeHandles.cs
- InteropBitmapSource.cs
- Rotation3DAnimationBase.cs
- TdsParserSafeHandles.cs
- ConfigErrorGlyph.cs
- CqlLexerHelpers.cs
- ComponentDispatcherThread.cs
- XmlSchemaInferenceException.cs
- SynchronizedInputHelper.cs
- TransformationRules.cs
- JoinCqlBlock.cs
- JournalEntry.cs
- Number.cs
- RC2CryptoServiceProvider.cs
- ToolStripDropDown.cs
- OptimizedTemplateContent.cs
- GcSettings.cs
- ConfigurationSectionGroup.cs
- FontStretch.cs
- SimpleWorkerRequest.cs
- DataGridBoolColumn.cs
- WizardStepBase.cs
- BaseInfoTable.cs
- ChildChangedEventArgs.cs
- DataRecordInfo.cs
- CqlQuery.cs
- XmlTextReaderImplHelpers.cs
- ToolboxDataAttribute.cs
- SystemInfo.cs
- HttpSessionStateBase.cs
- CodeGenHelper.cs
- TypeResolver.cs
- RSAPKCS1SignatureFormatter.cs
- HtmlInputReset.cs
- DataGridColumnHeaderCollection.cs
- New.cs
- ControlCodeDomSerializer.cs
- WeakHashtable.cs
- Clipboard.cs
- ComplexObject.cs
- HttpProtocolImporter.cs
- WindowsTooltip.cs
- TripleDES.cs
- NetNamedPipeSecurityElement.cs
- TypeForwardedToAttribute.cs
- Vector3DCollection.cs
- SelectorAutomationPeer.cs
- MouseActionConverter.cs
- RuleRefElement.cs
- HtmlSelectionListAdapter.cs
- X509IssuerSerialKeyIdentifierClause.cs
- EmbeddedMailObject.cs
- ToolStripHighContrastRenderer.cs
- SoundPlayer.cs
- ValueSerializer.cs