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
- SmtpAuthenticationManager.cs
- SignedPkcs7.cs
- FontEmbeddingManager.cs
- ContextMenuAutomationPeer.cs
- PackageProperties.cs
- Scripts.cs
- NativeMethods.cs
- OleDbDataReader.cs
- FilterElement.cs
- StringUtil.cs
- DataObjectPastingEventArgs.cs
- UpdatePanel.cs
- RoleGroupCollection.cs
- BaseAddressPrefixFilterElementCollection.cs
- TextTreeExtractElementUndoUnit.cs
- AcceleratedTokenProviderState.cs
- DataComponentNameHandler.cs
- ResourceBinder.cs
- HtmlTitle.cs
- Vars.cs
- XmlSchemaAttributeGroupRef.cs
- AnnotationStore.cs
- BasicHttpSecurityElement.cs
- UnsafeNetInfoNativeMethods.cs
- XmlWrappingReader.cs
- RuleSetReference.cs
- BamlTreeUpdater.cs
- __ConsoleStream.cs
- CopyNodeSetAction.cs
- Group.cs
- Comparer.cs
- XmlEncodedRawTextWriter.cs
- HostedHttpContext.cs
- PackagePart.cs
- SrgsOneOf.cs
- SqlCharStream.cs
- QueryConverter.cs
- ModelFunctionTypeElement.cs
- ClientFormsIdentity.cs
- DataViewSetting.cs
- XmlCustomFormatter.cs
- UpdateException.cs
- TaskFactory.cs
- OracleCommandBuilder.cs
- ScrollBarRenderer.cs
- ModelVisual3D.cs
- ImageConverter.cs
- BulletChrome.cs
- LinqDataSourceUpdateEventArgs.cs
- MsmqElementBase.cs
- PageRouteHandler.cs
- WmiEventSink.cs
- AssemblySettingAttributes.cs
- ExpressionEditorAttribute.cs
- ListenerSessionConnection.cs
- TemplateKeyConverter.cs
- CompositeActivityDesigner.cs
- ThreadAttributes.cs
- SafeNativeMethodsMilCoreApi.cs
- BigInt.cs
- DetailsViewDeleteEventArgs.cs
- GradientBrush.cs
- BidOverLoads.cs
- Math.cs
- UnmanagedMarshal.cs
- SafeEventLogWriteHandle.cs
- MissingManifestResourceException.cs
- HttpCachePolicyElement.cs
- Scheduling.cs
- FontEmbeddingManager.cs
- DocumentReferenceCollection.cs
- EdmType.cs
- XmlPropertyBag.cs
- TextBoxView.cs
- AuthenticationModuleElement.cs
- RegexTree.cs
- DurableEnlistmentState.cs
- Assembly.cs
- DataGridItemEventArgs.cs
- BufferModesCollection.cs
- PolyBezierSegment.cs
- MatrixTransform.cs
- WindowAutomationPeer.cs
- SettingsPropertyNotFoundException.cs
- OdbcCommandBuilder.cs
- SequentialUshortCollection.cs
- XamlToRtfParser.cs
- ListViewGroup.cs
- XmlName.cs
- HttpCapabilitiesEvaluator.cs
- DrawingContextDrawingContextWalker.cs
- PropertyInfoSet.cs
- TheQuery.cs
- Int16Storage.cs
- DataAdapter.cs
- ClientUrlResolverWrapper.cs
- Context.cs
- GeneratedCodeAttribute.cs
- SecurityRuntime.cs
- NullEntityWrapper.cs