Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- HatchBrush.cs
- LinkTarget.cs
- PrimaryKeyTypeConverter.cs
- DataGridViewSelectedColumnCollection.cs
- Registry.cs
- VisualStyleRenderer.cs
- FormatterConverter.cs
- CodeLinePragma.cs
- NavigatorOutput.cs
- TextSelectionProcessor.cs
- RewritingProcessor.cs
- SubMenuStyleCollection.cs
- XmlTextAttribute.cs
- ModelItemExtensions.cs
- DataBindingCollection.cs
- SoapClientMessage.cs
- WebControlToolBoxItem.cs
- RuntimeHelpers.cs
- securestring.cs
- SafeEventLogReadHandle.cs
- SendKeys.cs
- TextBox.cs
- ETagAttribute.cs
- MsmqInputSessionChannelListener.cs
- DataGridItem.cs
- SafeCertificateStore.cs
- SqlNotificationRequest.cs
- TableCell.cs
- PageStatePersister.cs
- ExternalException.cs
- SqlDataSourceConnectionPanel.cs
- FamilyMapCollection.cs
- SocketAddress.cs
- COSERVERINFO.cs
- PointHitTestResult.cs
- ParserStreamGeometryContext.cs
- LinkedResourceCollection.cs
- panel.cs
- DependencyObjectProvider.cs
- PathGeometry.cs
- _UriTypeConverter.cs
- CellParagraph.cs
- DataControlImageButton.cs
- DataPagerFieldCollection.cs
- RelationshipDetailsRow.cs
- SmtpException.cs
- MDIWindowDialog.cs
- HtmlContainerControl.cs
- BaseTemplateCodeDomTreeGenerator.cs
- WebRequestModuleElementCollection.cs
- VisualState.cs
- SingleStorage.cs
- SelectionEditingBehavior.cs
- TextBox.cs
- TimeSpan.cs
- ClientBuildManager.cs
- CurrentChangedEventManager.cs
- _LocalDataStore.cs
- HeaderedItemsControl.cs
- MergeFailedEvent.cs
- EntityDataSourceViewSchema.cs
- UnicodeEncoding.cs
- DataColumnCollection.cs
- ContractUtils.cs
- StoreItemCollection.cs
- StdRegProviderWrapper.cs
- TransactionFlowOption.cs
- TemplateColumn.cs
- MonthCalendar.cs
- InputMethodStateTypeInfo.cs
- DbConnectionPoolGroup.cs
- RectangleHotSpot.cs
- ReferenceSchema.cs
- MappingModelBuildProvider.cs
- InternalRelationshipCollection.cs
- NativeObjectSecurity.cs
- FormClosingEvent.cs
- ServerValidateEventArgs.cs
- BamlBinaryReader.cs
- VirtualDirectoryMappingCollection.cs
- HealthMonitoringSectionHelper.cs
- DateTimeConverter.cs
- CommunicationObjectManager.cs
- ConvertersCollection.cs
- NavigationWindow.cs
- TraceHandlerErrorFormatter.cs
- MobileUserControl.cs
- Visual3D.cs
- StyleSelector.cs
- SHA384Cng.cs
- TextParagraph.cs
- NativeCompoundFileAPIs.cs
- DbDeleteCommandTree.cs
- Validator.cs
- VersionValidator.cs
- TextBoxView.cs
- TdsParserStateObject.cs
- GridViewItemAutomationPeer.cs
- HostedHttpContext.cs
- SoapIgnoreAttribute.cs