Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- MailMessageEventArgs.cs
- UIElement3D.cs
- ListViewTableRow.cs
- Conditional.cs
- PointLight.cs
- MissingFieldException.cs
- WindowsImpersonationContext.cs
- SqlDelegatedTransaction.cs
- QueryContinueDragEventArgs.cs
- ServiceBusyException.cs
- SoapTypeAttribute.cs
- Application.cs
- XamlClipboardData.cs
- BuildTopDownAttribute.cs
- SyndicationDeserializer.cs
- _SingleItemRequestCache.cs
- BaseDataListComponentEditor.cs
- RbTree.cs
- ScanQueryOperator.cs
- Rect.cs
- KeyConverter.cs
- ActivityIdHeader.cs
- DataGridViewHeaderCell.cs
- XsltCompileContext.cs
- ConnectionManagementElementCollection.cs
- PointHitTestResult.cs
- DesignerGenericWebPart.cs
- IsolatedStorageException.cs
- AnimationStorage.cs
- ServiceRouteHandler.cs
- LogLogRecord.cs
- DecimalConverter.cs
- DbConnectionStringBuilder.cs
- XPathBinder.cs
- PassportAuthenticationModule.cs
- PathSegmentCollection.cs
- ChannelProtectionRequirements.cs
- MessageQueueConverter.cs
- PaperSize.cs
- loginstatus.cs
- TemplateControlBuildProvider.cs
- AxisAngleRotation3D.cs
- HandlerBase.cs
- BuildDependencySet.cs
- CompilerGlobalScopeAttribute.cs
- DataGridViewCellStyleConverter.cs
- DbMetaDataCollectionNames.cs
- ProcessHostMapPath.cs
- CategoryAttribute.cs
- CompiledQuery.cs
- RectConverter.cs
- RtfControls.cs
- XmlSchemaComplexContentRestriction.cs
- OneOfConst.cs
- DurableRuntimeValidator.cs
- RelatedCurrencyManager.cs
- SemanticTag.cs
- HitTestWithGeometryDrawingContextWalker.cs
- ClickablePoint.cs
- FilteredDataSetHelper.cs
- AuthorizationRule.cs
- SafeNativeHandle.cs
- AdornerPresentationContext.cs
- ResumeStoryboard.cs
- ClientEndpointLoader.cs
- WmlLiteralTextAdapter.cs
- MemoryMappedViewAccessor.cs
- EmptyArray.cs
- SEHException.cs
- Wizard.cs
- PolicyStatement.cs
- SoapRpcMethodAttribute.cs
- JulianCalendar.cs
- SqlDeflator.cs
- URLMembershipCondition.cs
- HtmlInputRadioButton.cs
- Marshal.cs
- NetWebProxyFinder.cs
- StaticExtensionConverter.cs
- RequestQueryParser.cs
- SQLConvert.cs
- VScrollBar.cs
- SqlReorderer.cs
- RequestQueryProcessor.cs
- complextypematerializer.cs
- ClientEventManager.cs
- GroupBox.cs
- thaishape.cs
- XmlAttributeCache.cs
- ChtmlSelectionListAdapter.cs
- XmlDataProvider.cs
- StaticExtension.cs
- TableStyle.cs
- SafeNativeMemoryHandle.cs
- BitmapFrameEncode.cs
- ApplyTemplatesAction.cs
- EnterpriseServicesHelper.cs
- MailAddressCollection.cs
- SafeSecurityHandles.cs
- ConfigXmlAttribute.cs