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
- EditorZoneBase.cs
- Renderer.cs
- Terminate.cs
- AffineTransform3D.cs
- DataServiceQuery.cs
- XPathSingletonIterator.cs
- TaiwanLunisolarCalendar.cs
- StackOverflowException.cs
- ToolStripItemRenderEventArgs.cs
- RoleService.cs
- Camera.cs
- FixedSchema.cs
- TeredoHelper.cs
- GifBitmapEncoder.cs
- ExtentCqlBlock.cs
- CursorConverter.cs
- PartialArray.cs
- LinkButton.cs
- Margins.cs
- CachedPathData.cs
- DaylightTime.cs
- EntityModelBuildProvider.cs
- SelectionWordBreaker.cs
- validation.cs
- ICspAsymmetricAlgorithm.cs
- Resources.Designer.cs
- ColumnResult.cs
- ResponseStream.cs
- StatusBarAutomationPeer.cs
- MethodBody.cs
- TdsParserHelperClasses.cs
- CheckBox.cs
- StrongName.cs
- BamlRecordReader.cs
- precedingsibling.cs
- PagerSettings.cs
- ElementNotEnabledException.cs
- UnsafeNetInfoNativeMethods.cs
- HtmlInputSubmit.cs
- Literal.cs
- CacheVirtualItemsEvent.cs
- ToolStripTextBox.cs
- BaseProcessor.cs
- InternalsVisibleToAttribute.cs
- PageThemeBuildProvider.cs
- DataGridItem.cs
- PatternMatcher.cs
- AssemblyResourceLoader.cs
- EntityConnectionStringBuilder.cs
- DependsOnAttribute.cs
- ChannelToken.cs
- SoapExtensionStream.cs
- XmlWriter.cs
- SyndicationPerson.cs
- ClientSponsor.cs
- _WinHttpWebProxyDataBuilder.cs
- HttpEncoderUtility.cs
- GacUtil.cs
- ParameterCollection.cs
- AppDomainEvidenceFactory.cs
- EventPrivateKey.cs
- InternalSafeNativeMethods.cs
- RunInstallerAttribute.cs
- Transactions.cs
- TextSpan.cs
- RegexRunner.cs
- CodeDesigner.cs
- Sql8ConformanceChecker.cs
- CompilationSection.cs
- UnmanagedMemoryStream.cs
- _UriTypeConverter.cs
- IteratorFilter.cs
- RoleGroup.cs
- PropertyChangingEventArgs.cs
- CryptoConfig.cs
- SafeProcessHandle.cs
- SplayTreeNode.cs
- FragmentNavigationEventArgs.cs
- UrlRoutingHandler.cs
- CodeBinaryOperatorExpression.cs
- SerializationUtility.cs
- DataServiceEntityAttribute.cs
- PriorityRange.cs
- _FtpDataStream.cs
- TriggerActionCollection.cs
- EventBindingService.cs
- NamedPipeChannelFactory.cs
- HMACSHA1.cs
- DBCommand.cs
- NotifyIcon.cs
- ModuleElement.cs
- TreeNodeBinding.cs
- EventInfo.cs
- SafeTimerHandle.cs
- AutoResizedEvent.cs
- EntitySqlQueryState.cs
- TextTreeText.cs
- SByte.cs
- ListViewCommandEventArgs.cs
- WebServiceParameterData.cs