Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- MetafileHeader.cs
- GridViewDesigner.cs
- StylusCollection.cs
- Boolean.cs
- InstancePersistenceException.cs
- DesignerActionListCollection.cs
- DataGridViewDesigner.cs
- PerspectiveCamera.cs
- ReadOnlyCollectionBase.cs
- SqlInternalConnectionSmi.cs
- RightsManagementEncryptionTransform.cs
- Command.cs
- MetabaseServerConfig.cs
- AutomationElementCollection.cs
- AdPostCacheSubstitution.cs
- PageAsyncTaskManager.cs
- ConnectionStringsSection.cs
- FixedSOMElement.cs
- EntityContainer.cs
- BuildResult.cs
- AutomationAttributeInfo.cs
- ScriptControlDescriptor.cs
- FloaterBaseParagraph.cs
- Attribute.cs
- ListViewTableCell.cs
- ConversionContext.cs
- SoapCodeExporter.cs
- XmlQueryRuntime.cs
- WebControlsSection.cs
- Rectangle.cs
- ResourceReferenceExpressionConverter.cs
- XmlDataLoader.cs
- IdSpace.cs
- InteropBitmapSource.cs
- CommonDialog.cs
- ValidationErrorEventArgs.cs
- ZipQueryOperator.cs
- XPathAxisIterator.cs
- VBCodeProvider.cs
- Permission.cs
- MethodMessage.cs
- SiteMapPath.cs
- CfgParser.cs
- WebUtil.cs
- CellPartitioner.cs
- UnmanagedMarshal.cs
- LoadMessageLogger.cs
- SizeConverter.cs
- StorageInfo.cs
- Activator.cs
- RadioButtonStandardAdapter.cs
- GeneratedContractType.cs
- SystemIcmpV4Statistics.cs
- EventDescriptorCollection.cs
- TextFormatterImp.cs
- SrgsElementList.cs
- X509Utils.cs
- UnsafeNativeMethodsMilCoreApi.cs
- VisualTreeUtils.cs
- SystemIPv4InterfaceProperties.cs
- PersonalizationProvider.cs
- TrackingProfile.cs
- listitem.cs
- DefaultHttpHandler.cs
- ConsoleEntryPoint.cs
- TreeNodeEventArgs.cs
- CodeCompiler.cs
- OutputCacheEntry.cs
- GridLength.cs
- DbMetaDataFactory.cs
- WinInet.cs
- CompilerGlobalScopeAttribute.cs
- StringUtil.cs
- SqlDelegatedTransaction.cs
- NativeCppClassAttribute.cs
- XmlObjectSerializerReadContextComplexJson.cs
- SqlCommandSet.cs
- PermissionSetEnumerator.cs
- GenericEnumerator.cs
- DataError.cs
- GradientStopCollection.cs
- AnnotationResourceChangedEventArgs.cs
- SqlConnectionPoolGroupProviderInfo.cs
- AssemblyBuilder.cs
- View.cs
- TextSerializer.cs
- QuadraticBezierSegment.cs
- ExeContext.cs
- TextTreeInsertElementUndoUnit.cs
- XmlAttributeCache.cs
- WindowsSlider.cs
- TextComposition.cs
- FormatterConverter.cs
- Renderer.cs
- PopupRootAutomationPeer.cs
- EmptyStringExpandableObjectConverter.cs
- _SslState.cs
- ImageFormatConverter.cs
- ImageConverter.cs
- DataContractSerializerSection.cs