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
- SqlCacheDependencySection.cs
- BaseDataBoundControl.cs
- TaskResultSetter.cs
- ExtendedPropertyCollection.cs
- SrgsElement.cs
- CompilationSection.cs
- Int16AnimationBase.cs
- SHA384.cs
- PropertyEntry.cs
- BufferedGraphicsManager.cs
- ControlIdConverter.cs
- RecognizeCompletedEventArgs.cs
- Funcletizer.cs
- CanonicalFontFamilyReference.cs
- OdbcEnvironmentHandle.cs
- COM2ComponentEditor.cs
- HttpStreamMessageEncoderFactory.cs
- _NetworkingPerfCounters.cs
- StylusTip.cs
- PopupControlService.cs
- DataGridViewHeaderCell.cs
- StreamFormatter.cs
- Delegate.cs
- ManagementEventWatcher.cs
- SiteMapNodeCollection.cs
- WizardStepCollectionEditor.cs
- Win32Native.cs
- AvTraceDetails.cs
- FillBehavior.cs
- ConnectionStringSettingsCollection.cs
- DataPagerField.cs
- Cursor.cs
- FileDialogCustomPlace.cs
- ErrorItem.cs
- DefaultCompensation.cs
- Visual3D.cs
- StructuredTypeInfo.cs
- HttpModuleActionCollection.cs
- LogLogRecordHeader.cs
- LassoSelectionBehavior.cs
- WebPartDisplayMode.cs
- RequestNavigateEventArgs.cs
- DelegatingTypeDescriptionProvider.cs
- LocationReferenceEnvironment.cs
- DatagridviewDisplayedBandsData.cs
- WindowsFormsHostAutomationPeer.cs
- SqlConnectionHelper.cs
- BrowserCapabilitiesFactory.cs
- SqlRowUpdatedEvent.cs
- CheckBoxList.cs
- XmlSchemaDatatype.cs
- __FastResourceComparer.cs
- RecordsAffectedEventArgs.cs
- NodeInfo.cs
- ScrollPattern.cs
- DataGridViewCellEventArgs.cs
- StringComparer.cs
- DirectoryNotFoundException.cs
- ExpressionEditorSheet.cs
- SafeViewOfFileHandle.cs
- FixedStringLookup.cs
- DbProviderConfigurationHandler.cs
- PointLight.cs
- TreeNodeClickEventArgs.cs
- AuthorizationRule.cs
- BinaryConverter.cs
- SqlBuffer.cs
- SoapFormatExtensions.cs
- MarshalByRefObject.cs
- DelayDesigner.cs
- WindowAutomationPeer.cs
- OrderedParallelQuery.cs
- TableDesigner.cs
- DesignerForm.cs
- StateElementCollection.cs
- AstNode.cs
- TraceInternal.cs
- GcSettings.cs
- WebPartMenuStyle.cs
- ThreadPool.cs
- DoubleKeyFrameCollection.cs
- MappedMetaModel.cs
- ChannelSinkStacks.cs
- RadialGradientBrush.cs
- ToolStripContentPanel.cs
- DbProviderFactory.cs
- Margins.cs
- FileEnumerator.cs
- PixelShader.cs
- Rotation3DAnimationBase.cs
- DataGridViewTextBoxColumn.cs
- BindableAttribute.cs
- OdbcCommandBuilder.cs
- ParserStreamGeometryContext.cs
- ContextMenu.cs
- Column.cs
- DefaultHttpHandler.cs
- TypeLoadException.cs
- Zone.cs
- PointLightBase.cs