Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / CodeDOM / CodeThrowExceptionStatement.cs / 1 / CodeThrowExceptionStatement.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeThrowExceptionStatement : CodeStatement { private CodeExpression toThrow; ////// Represents /// a statement that throws an exception. /// ////// public CodeThrowExceptionStatement() { } ////// Initializes a new instance of ///. /// /// public CodeThrowExceptionStatement(CodeExpression toThrow) { ToThrow = toThrow; } ////// Initializes a new instance of ///using the specified statement. /// /// public CodeExpression ToThrow { get { return toThrow; } set { toThrow = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets /// the expression to throw. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeThrowExceptionStatement : CodeStatement { private CodeExpression toThrow; ////// Represents /// a statement that throws an exception. /// ////// public CodeThrowExceptionStatement() { } ////// Initializes a new instance of ///. /// /// public CodeThrowExceptionStatement(CodeExpression toThrow) { ToThrow = toThrow; } ////// Initializes a new instance of ///using the specified statement. /// /// public CodeExpression ToThrow { get { return toThrow; } set { toThrow = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets /// the expression to throw. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TransactionContextManager.cs
- DesignerActionItemCollection.cs
- Point3DConverter.cs
- XmlnsPrefixAttribute.cs
- BoundingRectTracker.cs
- SmtpTransport.cs
- MouseBinding.cs
- FileLogRecord.cs
- WebContentFormatHelper.cs
- EntityProviderFactory.cs
- AutomationPatternInfo.cs
- DrawTreeNodeEventArgs.cs
- FileVersion.cs
- GridViewDeletedEventArgs.cs
- CodeEntryPointMethod.cs
- BuildProvider.cs
- ContentValidator.cs
- UndirectedGraph.cs
- RouteValueDictionary.cs
- ExceptionUtil.cs
- sitestring.cs
- LocatorPartList.cs
- ZipPackagePart.cs
- xml.cs
- ScrollBarRenderer.cs
- Query.cs
- PropertyInfo.cs
- DNS.cs
- SafeArrayTypeMismatchException.cs
- InteropDesigner.xaml.cs
- Dynamic.cs
- CompareInfo.cs
- XMLDiffLoader.cs
- Paragraph.cs
- IgnorePropertiesAttribute.cs
- Panel.cs
- DiscoveryMessageSequence.cs
- streamingZipPartStream.cs
- XmlMembersMapping.cs
- ErrorHandler.cs
- TransactionBridge.cs
- AssociatedControlConverter.cs
- Scene3D.cs
- DbProviderFactoriesConfigurationHandler.cs
- BehaviorService.cs
- RegexStringValidatorAttribute.cs
- WebPartDisplayMode.cs
- DetailsViewPagerRow.cs
- XmlDataImplementation.cs
- XmlDataSource.cs
- Exceptions.cs
- WebRequestModuleElementCollection.cs
- Transaction.cs
- ImageKeyConverter.cs
- CompressedStack.cs
- SharedUtils.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- AuthorizationSection.cs
- OracleConnection.cs
- ConfigXmlText.cs
- baseaxisquery.cs
- RowType.cs
- TextTreeText.cs
- SqlDataSourceDesigner.cs
- ClosableStream.cs
- SiteMapDataSourceView.cs
- DataRowComparer.cs
- Point3DAnimationUsingKeyFrames.cs
- RuleSettingsCollection.cs
- HttpHandlerActionCollection.cs
- HtmlWindowCollection.cs
- Hash.cs
- ContentElementAutomationPeer.cs
- mediaeventargs.cs
- ProfessionalColorTable.cs
- DeriveBytes.cs
- DeleteStoreRequest.cs
- NavigationWindowAutomationPeer.cs
- FormViewInsertEventArgs.cs
- XmlAutoDetectWriter.cs
- GPPOINTF.cs
- CorePropertiesFilter.cs
- XslException.cs
- SqlUtils.cs
- HealthMonitoringSectionHelper.cs
- WebBrowserNavigatingEventHandler.cs
- ProtocolsConfigurationHandler.cs
- Rect3D.cs
- Visitors.cs
- RectConverter.cs
- SelectManyQueryOperator.cs
- PointCollectionConverter.cs
- CodePrimitiveExpression.cs
- ByteAnimationBase.cs
- LocalBuilder.cs
- PageStatePersister.cs
- SqlDelegatedTransaction.cs
- ProgressBar.cs
- DataGridViewLayoutData.cs
- DispatcherHooks.cs