Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- AlternateView.cs
- WebPartConnectionsDisconnectVerb.cs
- ConnectionManagementSection.cs
- Camera.cs
- DrawingCollection.cs
- DivideByZeroException.cs
- PanningMessageFilter.cs
- DataGridComboBoxColumn.cs
- GridItem.cs
- TableCellAutomationPeer.cs
- EpmTargetTree.cs
- Configuration.cs
- CompiledRegexRunnerFactory.cs
- FlowNode.cs
- WriteableBitmap.cs
- DataServiceStreamProviderWrapper.cs
- SqlParameter.cs
- FormatConvertedBitmap.cs
- UrlPath.cs
- Matrix3DConverter.cs
- WebPartTransformerAttribute.cs
- InputLanguageProfileNotifySink.cs
- MobileUserControl.cs
- AliasedSlot.cs
- URLString.cs
- BooleanFunctions.cs
- TagPrefixInfo.cs
- SqlProviderServices.cs
- KerberosReceiverSecurityToken.cs
- ActivityDesignerResources.cs
- HostExecutionContextManager.cs
- Command.cs
- PresentationAppDomainManager.cs
- XhtmlBasicPanelAdapter.cs
- WebPartManagerInternals.cs
- CompilationRelaxations.cs
- Cursor.cs
- CompositeFontParser.cs
- GridViewColumn.cs
- XmlHierarchicalDataSourceView.cs
- TableChangeProcessor.cs
- CacheRequest.cs
- ParentUndoUnit.cs
- SemanticAnalyzer.cs
- FixedPageStructure.cs
- PropertyValueChangedEvent.cs
- DateTimeFormatInfo.cs
- Directory.cs
- SpellerError.cs
- GenericTypeParameterBuilder.cs
- CounterCreationData.cs
- BamlVersionHeader.cs
- AsyncResult.cs
- HWStack.cs
- DataGridViewMethods.cs
- NumericUpDown.cs
- DesignerView.cs
- CommonDialog.cs
- UnsafeNativeMethodsPenimc.cs
- MailAddress.cs
- MessageQueue.cs
- SystemSounds.cs
- AppDomainFactory.cs
- WpfPayload.cs
- Paragraph.cs
- InfoCardSymmetricAlgorithm.cs
- TypeConverterHelper.cs
- DataGrid.cs
- EncoderReplacementFallback.cs
- EnumBuilder.cs
- Stroke2.cs
- FixedSOMFixedBlock.cs
- ManipulationCompletedEventArgs.cs
- WpfKnownType.cs
- SqlGenericUtil.cs
- TextServicesDisplayAttributePropertyRanges.cs
- DispatcherEventArgs.cs
- AutomationElement.cs
- DisposableCollectionWrapper.cs
- FtpWebResponse.cs
- HashHelpers.cs
- EntityStoreSchemaGenerator.cs
- EarlyBoundInfo.cs
- XmlQueryRuntime.cs
- ScrollItemPattern.cs
- SrgsDocumentParser.cs
- WebServiceTypeData.cs
- RecordManager.cs
- NumberFormatter.cs
- Int32CollectionConverter.cs
- Accessors.cs
- WebHttpEndpointElement.cs
- DataTablePropertyDescriptor.cs
- QuestionEventArgs.cs
- StorageEndPropertyMapping.cs
- WrapPanel.cs
- sqlser.cs
- SourceInterpreter.cs
- NoneExcludedImageIndexConverter.cs
- Canvas.cs