Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeThrowExceptionStatement.cs / 1305376 / CodeThrowExceptionStatement.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- VoiceSynthesis.cs
- PageThemeParser.cs
- ClientUrlResolverWrapper.cs
- DBConnectionString.cs
- XmlSchemaDocumentation.cs
- DataGridState.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- _Connection.cs
- SchemaImporterExtension.cs
- DynamicResourceExtensionConverter.cs
- ItemsControl.cs
- Math.cs
- MetadataCacheItem.cs
- ContentPlaceHolderDesigner.cs
- PathParser.cs
- XmlNamespaceDeclarationsAttribute.cs
- Int32CAMarshaler.cs
- BufferedWebEventProvider.cs
- StringInfo.cs
- LinkedList.cs
- ExtractCollection.cs
- FixedSOMLineCollection.cs
- UnsafeNativeMethods.cs
- EastAsianLunisolarCalendar.cs
- DisplayInformation.cs
- EntityViewGenerator.cs
- ThaiBuddhistCalendar.cs
- ControlAdapter.cs
- DPTypeDescriptorContext.cs
- messageonlyhwndwrapper.cs
- ValueQuery.cs
- PaperSource.cs
- DPTypeDescriptorContext.cs
- PerformanceCounterManager.cs
- PropertyIDSet.cs
- PolicyLevel.cs
- TextModifierScope.cs
- SqlConnection.cs
- RootBrowserWindowProxy.cs
- nulltextcontainer.cs
- SmiMetaDataProperty.cs
- FacetValueContainer.cs
- DataGridAutomationPeer.cs
- Attributes.cs
- WindowsGrip.cs
- SocketCache.cs
- RowBinding.cs
- DataSourceHelper.cs
- TypeReference.cs
- ArraySubsetEnumerator.cs
- FactoryGenerator.cs
- PeerContact.cs
- HandlerFactoryWrapper.cs
- LambdaCompiler.Generated.cs
- XmlSchemaAll.cs
- SwitchExpression.cs
- MediaElementAutomationPeer.cs
- complextypematerializer.cs
- Source.cs
- ObjectSet.cs
- ReadOnlyPropertyMetadata.cs
- SafeRsaProviderHandle.cs
- AutoScrollHelper.cs
- IUnknownConstantAttribute.cs
- BStrWrapper.cs
- Deflater.cs
- InvokeDelegate.cs
- DockingAttribute.cs
- TextServicesProperty.cs
- SettingsPropertyIsReadOnlyException.cs
- DecimalMinMaxAggregationOperator.cs
- CodeConstructor.cs
- ConfigurationStrings.cs
- XslAst.cs
- HttpCookie.cs
- Rotation3DAnimationUsingKeyFrames.cs
- PreviewKeyDownEventArgs.cs
- METAHEADER.cs
- ToolStripRenderEventArgs.cs
- StaticDataManager.cs
- TableCell.cs
- DrawListViewSubItemEventArgs.cs
- ShapingWorkspace.cs
- HScrollProperties.cs
- EmptyReadOnlyDictionaryInternal.cs
- Adorner.cs
- SmiTypedGetterSetter.cs
- TabletCollection.cs
- CustomCategoryAttribute.cs
- HttpRequest.cs
- ParseNumbers.cs
- BreakRecordTable.cs
- DocumentViewer.cs
- ProxyGenerationError.cs
- HostedBindingBehavior.cs
- ConfigXmlText.cs
- PathStreamGeometryContext.cs
- QueryContinueDragEvent.cs
- ExpressionBindingCollection.cs
- XmlSchemaComplexContent.cs