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
- DataMemberConverter.cs
- GridViewItemAutomationPeer.cs
- StrokeCollectionDefaultValueFactory.cs
- BitSet.cs
- TextSearch.cs
- OletxVolatileEnlistment.cs
- XsltLoader.cs
- RegexGroup.cs
- DataStreamFromComStream.cs
- CompensatableSequenceActivity.cs
- RecoverInstanceLocksCommand.cs
- UnsafeNativeMethods.cs
- TreeViewCancelEvent.cs
- QuadraticBezierSegment.cs
- CheckPair.cs
- RemotingConfigParser.cs
- FieldNameLookup.cs
- Function.cs
- DropShadowEffect.cs
- DelegatedStream.cs
- ZipIOCentralDirectoryFileHeader.cs
- KeyboardDevice.cs
- ServiceNotStartedException.cs
- AnnotationComponentChooser.cs
- SendSecurityHeader.cs
- SkinBuilder.cs
- ConnectorDragDropGlyph.cs
- ColorInterpolationModeValidation.cs
- wmiprovider.cs
- OrderedDictionary.cs
- CopyCodeAction.cs
- Rect3DConverter.cs
- TemplatePartAttribute.cs
- UpDownEvent.cs
- PassportAuthenticationEventArgs.cs
- PageRanges.cs
- UTF8Encoding.cs
- ByteFacetDescriptionElement.cs
- ByteStack.cs
- filewebrequest.cs
- thaishape.cs
- OleDbCommand.cs
- GiveFeedbackEvent.cs
- StrongNameKeyPair.cs
- DataSourceXmlSubItemAttribute.cs
- ImageAutomationPeer.cs
- ExponentialEase.cs
- Serializer.cs
- EventManager.cs
- _NetworkingPerfCounters.cs
- EpmAttributeNameBuilder.cs
- BatchParser.cs
- _FtpDataStream.cs
- RadialGradientBrush.cs
- VerificationAttribute.cs
- Zone.cs
- AppModelKnownContentFactory.cs
- SafeBitVector32.cs
- ResolveNameEventArgs.cs
- DecoderFallbackWithFailureFlag.cs
- CodeSnippetTypeMember.cs
- DTCTransactionManager.cs
- GroupPartitionExpr.cs
- SimpleBitVector32.cs
- EntityRecordInfo.cs
- DSACryptoServiceProvider.cs
- TextSpanModifier.cs
- HwndSource.cs
- TextBounds.cs
- IndependentlyAnimatedPropertyMetadata.cs
- GifBitmapEncoder.cs
- FixedSOMTableRow.cs
- TextRunCacheImp.cs
- XPathNavigator.cs
- Grid.cs
- ReadWriteSpinLock.cs
- GraphicsPathIterator.cs
- ToolboxBitmapAttribute.cs
- Helpers.cs
- hresults.cs
- Encoding.cs
- DodSequenceMerge.cs
- View.cs
- XmlSchemaSet.cs
- adornercollection.cs
- DataGridViewTextBoxEditingControl.cs
- RSACryptoServiceProvider.cs
- UnsafeNativeMethodsMilCoreApi.cs
- AnnotationService.cs
- SoapObjectInfo.cs
- NativeMethods.cs
- XmlSchemaGroupRef.cs
- EmptyStringExpandableObjectConverter.cs
- DataGridViewRowPostPaintEventArgs.cs
- WebServiceErrorEvent.cs
- JsonEnumDataContract.cs
- XmlSchemaAny.cs
- VersionedStreamOwner.cs
- control.ime.cs
- CustomAttributeFormatException.cs