Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }/// Gets or sets /// the expression to throw. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StylusCaptureWithinProperty.cs
- EtwProvider.cs
- StatusBarDrawItemEvent.cs
- UIntPtr.cs
- AudioStateChangedEventArgs.cs
- IISUnsafeMethods.cs
- PropertyPathConverter.cs
- ProxyHelper.cs
- DbParameterHelper.cs
- XmlSchemaCollection.cs
- InheritanceContextChangedEventManager.cs
- ContactManager.cs
- InteropDesigner.xaml.cs
- MemberInfoSerializationHolder.cs
- PassportAuthentication.cs
- ComponentEvent.cs
- DataRowComparer.cs
- BufferAllocator.cs
- ReadOnlyCollection.cs
- UnicastIPAddressInformationCollection.cs
- RijndaelCryptoServiceProvider.cs
- SBCSCodePageEncoding.cs
- Facet.cs
- DataListItemEventArgs.cs
- AddressAccessDeniedException.cs
- TransactionFlowAttribute.cs
- SkinBuilder.cs
- bindurihelper.cs
- ResourceManager.cs
- ResourcesGenerator.cs
- GetWinFXPath.cs
- Thread.cs
- LazyInitializer.cs
- PrintPreviewDialog.cs
- ToolStripDropDown.cs
- Hash.cs
- DataGridDesigner.cs
- RemotingConfigParser.cs
- ConditionalAttribute.cs
- FolderBrowserDialogDesigner.cs
- SimpleMailWebEventProvider.cs
- XmlSerializerSection.cs
- SizeFConverter.cs
- NonBatchDirectoryCompiler.cs
- WizardPanel.cs
- Sequence.cs
- IIS7WorkerRequest.cs
- SystemTcpConnection.cs
- PrintPageEvent.cs
- DocumentXmlWriter.cs
- ModelEditingScope.cs
- LinqDataSourceSelectEventArgs.cs
- Compiler.cs
- ObjectViewFactory.cs
- CssStyleCollection.cs
- ToolStripSettings.cs
- TextServicesCompartmentEventSink.cs
- AuthenticationService.cs
- AccessViolationException.cs
- AncestorChangedEventArgs.cs
- ServiceControllerDesigner.cs
- PersonalizationState.cs
- QueryTask.cs
- KeyInfo.cs
- SQLInt16.cs
- FunctionUpdateCommand.cs
- CalendarData.cs
- ACE.cs
- BatchStream.cs
- ValidationEventArgs.cs
- CompoundFileIOPermission.cs
- PointConverter.cs
- DataServiceRequestOfT.cs
- DataViewSetting.cs
- RoutedEvent.cs
- DesignConnection.cs
- SectionVisual.cs
- KernelTypeValidation.cs
- ProfilePropertyMetadata.cs
- IPAddressCollection.cs
- UIElementHelper.cs
- RouteParameter.cs
- Compiler.cs
- ContextToken.cs
- DataObject.cs
- Nodes.cs
- StyleTypedPropertyAttribute.cs
- AxImporter.cs
- DataShape.cs
- TableLayout.cs
- TemplateFactory.cs
- Classification.cs
- TypeBuilder.cs
- ArgumentFixer.cs
- TextTreeTextNode.cs
- CodeTypeParameterCollection.cs
- GroupBoxAutomationPeer.cs
- RecognizerStateChangedEventArgs.cs
- BaseValidator.cs
- IdentityHolder.cs