Code:
/ DotNET / DotNET / 8.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
- SourceFileBuildProvider.cs
- ApplicationProxyInternal.cs
- Stackframe.cs
- DuplicateWaitObjectException.cs
- HtmlInputCheckBox.cs
- ReferenceEqualityComparer.cs
- TextClipboardData.cs
- ToolStripSettings.cs
- ComponentResourceKey.cs
- EventsTab.cs
- XsltInput.cs
- HttpCookieCollection.cs
- GetFileNameResult.cs
- WebPartConnectionsCloseVerb.cs
- TextSelectionHelper.cs
- FormsAuthenticationCredentials.cs
- CustomAttributeFormatException.cs
- ReflectionUtil.cs
- PriorityChain.cs
- GridItem.cs
- SuppressMessageAttribute.cs
- HyperLinkColumn.cs
- ValueConversionAttribute.cs
- ApplicationServiceManager.cs
- DataFormats.cs
- XamlBrushSerializer.cs
- InvalidPrinterException.cs
- TransformProviderWrapper.cs
- Vector.cs
- DataPagerFieldCommandEventArgs.cs
- ConfigurationStrings.cs
- DataRowCollection.cs
- SqlBuilder.cs
- SymDocumentType.cs
- Control.cs
- SynchronizedDispatch.cs
- SizeF.cs
- SpellerHighlightLayer.cs
- PlainXmlSerializer.cs
- AuditLevel.cs
- XmlDataSourceView.cs
- SessionEndedEventArgs.cs
- OneOfElement.cs
- ClientSession.cs
- TypeTypeConverter.cs
- DataBoundControlHelper.cs
- ClockController.cs
- HttpContext.cs
- TailCallAnalyzer.cs
- dataobject.cs
- PageWrapper.cs
- Roles.cs
- COM2ExtendedUITypeEditor.cs
- _NTAuthentication.cs
- Debugger.cs
- HwndSourceParameters.cs
- SmtpFailedRecipientsException.cs
- CachedPathData.cs
- DbSetClause.cs
- XmlWrappingReader.cs
- TaskResultSetter.cs
- HttpTransportSecurityElement.cs
- ProviderSettingsCollection.cs
- VectorValueSerializer.cs
- PipeException.cs
- XmlSchemaParticle.cs
- StrongBox.cs
- AddInContractAttribute.cs
- SizeAnimationUsingKeyFrames.cs
- ScrollViewerAutomationPeer.cs
- ExpandCollapsePattern.cs
- Dynamic.cs
- ToolZone.cs
- StaticFileHandler.cs
- SqlClientPermission.cs
- SerializationHelper.cs
- RawStylusInput.cs
- DictionaryEntry.cs
- GridViewEditEventArgs.cs
- TransformCryptoHandle.cs
- SafeViewOfFileHandle.cs
- WmpBitmapDecoder.cs
- PrePostDescendentsWalker.cs
- DefinitionBase.cs
- RootBrowserWindowProxy.cs
- LogSwitch.cs
- DtdParser.cs
- Animatable.cs
- RepeatInfo.cs
- ControlPaint.cs
- HTMLTextWriter.cs
- DataKeyCollection.cs
- ListItemCollection.cs
- AdornerPresentationContext.cs
- ASCIIEncoding.cs
- XPathNodeHelper.cs
- PropertyPathWorker.cs
- LocalizedNameDescriptionPair.cs
- OneOfConst.cs
- SystemIPGlobalProperties.cs