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
- InputElement.cs
- filewebrequest.cs
- ColumnMapProcessor.cs
- BCLDebug.cs
- EntityCommand.cs
- PerfProviderCollection.cs
- TableItemPattern.cs
- PathFigureCollection.cs
- Input.cs
- SqlDataReader.cs
- SecurityTokenParameters.cs
- XPathScanner.cs
- Scene3D.cs
- Win32KeyboardDevice.cs
- DashStyles.cs
- MediaScriptCommandRoutedEventArgs.cs
- Pens.cs
- ContentWrapperAttribute.cs
- BaseCodeDomTreeGenerator.cs
- ColorConverter.cs
- CreatingCookieEventArgs.cs
- BufferedReadStream.cs
- FileChangeNotifier.cs
- SequenceDesigner.cs
- URLAttribute.cs
- Parsers.cs
- XpsViewerException.cs
- ConnectionPoolManager.cs
- WorkflowShape.cs
- ToolBar.cs
- ValidationRule.cs
- EntityProxyFactory.cs
- LocalFileSettingsProvider.cs
- EasingKeyFrames.cs
- WizardForm.cs
- Math.cs
- ScrollChrome.cs
- ClientSettingsProvider.cs
- XmlUtil.cs
- GeometryCollection.cs
- ProcessHost.cs
- UnsafeNativeMethods.cs
- AbandonedMutexException.cs
- NameTable.cs
- PagedDataSource.cs
- HeaderedItemsControl.cs
- Component.cs
- Int16.cs
- TransactionFilter.cs
- BufferedWebEventProvider.cs
- RemotingConfigParser.cs
- FormViewPagerRow.cs
- Vector3D.cs
- MarkupCompilePass2.cs
- HuffModule.cs
- ModuleBuilderData.cs
- RadioButton.cs
- HtmlContainerControl.cs
- Menu.cs
- TextOutput.cs
- RunInstallerAttribute.cs
- DataGridViewAutoSizeModeEventArgs.cs
- SimpleTableProvider.cs
- SpotLight.cs
- DeferredReference.cs
- WinFormsSpinner.cs
- StreamSecurityUpgradeInitiatorAsyncResult.cs
- DCSafeHandle.cs
- StandardBindingImporter.cs
- InterleavedZipPartStream.cs
- VirtualDirectoryMapping.cs
- ObjectQuery_EntitySqlExtensions.cs
- SmiRecordBuffer.cs
- RoutedEventHandlerInfo.cs
- SubpageParaClient.cs
- WindowsGraphicsWrapper.cs
- ValidationRuleCollection.cs
- OpenTypeMethods.cs
- AspNetSynchronizationContext.cs
- MarkupExtensionParser.cs
- PropertyIDSet.cs
- AppDomainProtocolHandler.cs
- CompiledIdentityConstraint.cs
- SudsWriter.cs
- XamlSerializerUtil.cs
- ToolStripItemTextRenderEventArgs.cs
- AutomationEvent.cs
- ToolStripRenderer.cs
- ConnectionPoint.cs
- SessionPageStateSection.cs
- AppDomainFactory.cs
- Attributes.cs
- CodeDirectionExpression.cs
- LocalValueEnumerator.cs
- BCryptNative.cs
- LifetimeServices.cs
- SingleAnimationUsingKeyFrames.cs
- SharingService.cs
- HMACSHA512.cs
- PropertyBuilder.cs