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
- TextWriter.cs
- TrackingValidationObjectDictionary.cs
- SpellerStatusTable.cs
- OdbcParameterCollection.cs
- SelectorItemAutomationPeer.cs
- SimpleFileLog.cs
- DetailsViewPageEventArgs.cs
- XsltLoader.cs
- JavascriptCallbackBehaviorAttribute.cs
- DefaultPrintController.cs
- WebBrowserEvent.cs
- TogglePattern.cs
- DropTarget.cs
- InfiniteIntConverter.cs
- PaperSize.cs
- WebPartManagerInternals.cs
- ItemCollection.cs
- ClientBuildManagerCallback.cs
- pingexception.cs
- LocalValueEnumerator.cs
- GradientStop.cs
- EntityDataSourceChangingEventArgs.cs
- FormViewActionList.cs
- RadioButtonAutomationPeer.cs
- RadioButtonStandardAdapter.cs
- FileAuthorizationModule.cs
- PointCollection.cs
- CallbackHandler.cs
- GenericPrincipal.cs
- XmlLinkedNode.cs
- RelativeSource.cs
- XamlGridLengthSerializer.cs
- IdnMapping.cs
- ObjectPropertyMapping.cs
- DefaultSerializationProviderAttribute.cs
- LassoHelper.cs
- WebHttpDispatchOperationSelectorData.cs
- TypeSchema.cs
- StrokeNodeData.cs
- EmptyElement.cs
- TaiwanLunisolarCalendar.cs
- DataGridViewHeaderCell.cs
- NamespaceExpr.cs
- LocalizationParserHooks.cs
- TextDecorations.cs
- DoubleAnimationUsingKeyFrames.cs
- EarlyBoundInfo.cs
- SystemIPInterfaceStatistics.cs
- DictationGrammar.cs
- TimeZoneInfo.cs
- BulletChrome.cs
- BorderGapMaskConverter.cs
- StrokeCollection.cs
- WebExceptionStatus.cs
- StateWorkerRequest.cs
- TypeUtil.cs
- ComplexObject.cs
- WebPartVerb.cs
- WebZone.cs
- HebrewCalendar.cs
- XmlSchemaSimpleContentExtension.cs
- PageContent.cs
- ExpressionBindingsDialog.cs
- HostExecutionContextManager.cs
- HwndProxyElementProvider.cs
- XsltContext.cs
- ViewSimplifier.cs
- SiteMapProvider.cs
- DataGridViewLayoutData.cs
- EUCJPEncoding.cs
- DataView.cs
- NumericUpDownAccelerationCollection.cs
- ValidatingReaderNodeData.cs
- ParserOptions.cs
- Update.cs
- GridViewCancelEditEventArgs.cs
- ConversionHelper.cs
- ContentValidator.cs
- NonParentingControl.cs
- NameNode.cs
- ComplexType.cs
- WebServicesSection.cs
- _RequestCacheProtocol.cs
- CommandExpr.cs
- _ConnectStream.cs
- BuildResult.cs
- DurableServiceAttribute.cs
- RelationshipEnd.cs
- PageCodeDomTreeGenerator.cs
- FilterableAttribute.cs
- SchemaTableOptionalColumn.cs
- SeekStoryboard.cs
- PersonalizationAdministration.cs
- XmlDataDocument.cs
- AuthorizationRule.cs
- WindowsNonControl.cs
- DropDownButton.cs
- WmlObjectListAdapter.cs
- COAUTHIDENTITY.cs
- DataServiceProviderWrapper.cs