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
- DashStyle.cs
- Validator.cs
- IgnorePropertiesAttribute.cs
- VScrollProperties.cs
- ThicknessConverter.cs
- CookieParameter.cs
- DataGridViewRow.cs
- ContextInformation.cs
- DbDataSourceEnumerator.cs
- webeventbuffer.cs
- RawAppCommandInputReport.cs
- AnimatedTypeHelpers.cs
- wgx_commands.cs
- BindingExpression.cs
- CodeSpit.cs
- SqlCacheDependency.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- BinHexDecoder.cs
- UrlPath.cs
- TextTabProperties.cs
- DoubleCollectionConverter.cs
- SynchronizingStream.cs
- SqlDataSourceQueryEditorForm.cs
- DataPointer.cs
- GeometryValueSerializer.cs
- MultiDataTrigger.cs
- SqlDataSourceEnumerator.cs
- DataSetViewSchema.cs
- UnsafeNativeMethods.cs
- GridViewDeletedEventArgs.cs
- DataRowCollection.cs
- SecurityTokenException.cs
- MinMaxParagraphWidth.cs
- IdentityVerifier.cs
- ApplicationHost.cs
- GuidelineSet.cs
- GridViewAutomationPeer.cs
- DesignerSerializationOptionsAttribute.cs
- CompilerCollection.cs
- DescriptionAttribute.cs
- WindowsEditBox.cs
- Win32PrintDialog.cs
- TextEditorTables.cs
- Cursor.cs
- BmpBitmapEncoder.cs
- Storyboard.cs
- SqlClientPermission.cs
- ControlCachePolicy.cs
- ObjectDataSourceMethodEditor.cs
- DataGridViewColumnCollection.cs
- WebPartRestoreVerb.cs
- TypeDescriptor.cs
- NamespaceInfo.cs
- EventHandlersStore.cs
- ToggleButton.cs
- PolicyStatement.cs
- ErrorLog.cs
- Msmq3PoisonHandler.cs
- RectAnimationUsingKeyFrames.cs
- ProxyAttribute.cs
- TreeView.cs
- ContentWrapperAttribute.cs
- TraceContext.cs
- ResourceSet.cs
- nulltextnavigator.cs
- CodeTryCatchFinallyStatement.cs
- RegisteredScript.cs
- MouseBinding.cs
- RemoteWebConfigurationHost.cs
- SmiEventSink_DeferedProcessing.cs
- RenderTargetBitmap.cs
- HGlobalSafeHandle.cs
- ValidatorCollection.cs
- TextEditorSelection.cs
- SqlDataSourceCache.cs
- ClientScriptManager.cs
- HtmlEncodedRawTextWriter.cs
- DataObject.cs
- ProjectionCamera.cs
- XmlSchemaObjectTable.cs
- _DigestClient.cs
- ResourceReferenceKeyNotFoundException.cs
- ContainerParagraph.cs
- HotSpotCollection.cs
- SslStream.cs
- RijndaelCryptoServiceProvider.cs
- SerTrace.cs
- XmlObjectSerializerReadContextComplex.cs
- PointAnimation.cs
- Binding.cs
- ArrangedElementCollection.cs
- KeySplineConverter.cs
- InkCanvasInnerCanvas.cs
- SettingsSavedEventArgs.cs
- ButtonBaseAutomationPeer.cs
- SymbolType.cs
- ValidationUtility.cs
- TrustSection.cs
- CryptoApi.cs
- SQLInt16.cs