Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DataError.cs
- Scalars.cs
- AliasGenerator.cs
- UrlRoutingModule.cs
- SecurityResources.cs
- TemplatePartAttribute.cs
- SocketInformation.cs
- SimpleNameService.cs
- EntityDataSourceStatementEditor.cs
- Solver.cs
- MethodResolver.cs
- ProcessHost.cs
- EditorAttribute.cs
- ExclusiveNamedPipeTransportManager.cs
- NGCPageContentSerializerAsync.cs
- ErrorHandlingAcceptor.cs
- DependencyObjectPropertyDescriptor.cs
- GroupDescription.cs
- HeaderCollection.cs
- FileSystemEventArgs.cs
- CompletedAsyncResult.cs
- DataGridComponentEditor.cs
- securitycriticaldata.cs
- VBCodeProvider.cs
- ListViewItemMouseHoverEvent.cs
- ContextMenuStripGroup.cs
- ConfigXmlCDataSection.cs
- AbstractSvcMapFileLoader.cs
- XmlWriterSettings.cs
- HitTestResult.cs
- TimeSpanStorage.cs
- HttpDictionary.cs
- RemotingServices.cs
- Pkcs9Attribute.cs
- WebDescriptionAttribute.cs
- TreeViewDesigner.cs
- lengthconverter.cs
- Intellisense.cs
- DependencyObjectProvider.cs
- ServiceModelInstallComponent.cs
- DataGridViewComboBoxCell.cs
- ReadOnlyHierarchicalDataSourceView.cs
- StreamGeometryContext.cs
- DefaultAsyncDataDispatcher.cs
- VBIdentifierNameEditor.cs
- _NegoState.cs
- _UncName.cs
- FactorySettingsElement.cs
- ArraySegment.cs
- CategoryAttribute.cs
- TableHeaderCell.cs
- ObjectListItem.cs
- CodeCommentStatement.cs
- Tablet.cs
- HttpHandler.cs
- SettingsPropertyCollection.cs
- EntityPropertyMappingAttribute.cs
- WebPartManager.cs
- QueryRelOp.cs
- EntityStoreSchemaGenerator.cs
- XPathDocumentNavigator.cs
- DecimalKeyFrameCollection.cs
- ReadingWritingEntityEventArgs.cs
- DataBindingExpressionBuilder.cs
- Block.cs
- JournalEntry.cs
- EpmHelper.cs
- PeoplePickerWrapper.cs
- ProgressBarHighlightConverter.cs
- __Error.cs
- Win32MouseDevice.cs
- InvalidCastException.cs
- WebOperationContext.cs
- BulletChrome.cs
- HtmlSelectionListAdapter.cs
- GeneralTransform3D.cs
- FileDialog_Vista_Interop.cs
- CheckBox.cs
- TransactionManager.cs
- SqlParameter.cs
- QueryStringParameter.cs
- HttpWriter.cs
- SerializationAttributes.cs
- COM2PropertyDescriptor.cs
- Point3DCollection.cs
- MeshGeometry3D.cs
- DispatchWrapper.cs
- SqlDataReader.cs
- EqualityComparer.cs
- HiddenField.cs
- XPathChildIterator.cs
- TemplateNameScope.cs
- SecurityImpersonationBehavior.cs
- RC2.cs
- DataGridColumnCollection.cs
- HtmlTableCell.cs
- securitycriticaldataformultiplegetandset.cs
- DeleteHelper.cs
- HttpFileCollection.cs
- WebPartAuthorizationEventArgs.cs