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
- PerfCounterSection.cs
- dataobject.cs
- FontWeights.cs
- TemplateKeyConverter.cs
- FixedTextContainer.cs
- LinkAreaEditor.cs
- PackagePartCollection.cs
- ChineseLunisolarCalendar.cs
- documentsequencetextpointer.cs
- FtpWebRequest.cs
- AssemblyBuilder.cs
- UICuesEvent.cs
- SpecialNameAttribute.cs
- ExpressionBuilder.cs
- RawStylusInputCustomDataList.cs
- SqlPersonalizationProvider.cs
- GeometryHitTestParameters.cs
- PermissionRequestEvidence.cs
- FixedSOMFixedBlock.cs
- UserNamePasswordServiceCredential.cs
- ExternalFile.cs
- CustomWebEventKey.cs
- RowUpdatedEventArgs.cs
- HealthMonitoringSectionHelper.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- SoapReflectionImporter.cs
- InternalRelationshipCollection.cs
- GridViewUpdatedEventArgs.cs
- _HelperAsyncResults.cs
- ListViewGroupCollectionEditor.cs
- InvalidAsynchronousStateException.cs
- _CookieModule.cs
- Parser.cs
- QueryOptionExpression.cs
- XmlSchemaComplexContent.cs
- ExpressionEditor.cs
- Misc.cs
- StringUtil.cs
- DataBoundControlAdapter.cs
- CellPartitioner.cs
- HttpProfileGroupBase.cs
- DataSysAttribute.cs
- ActivityExecutor.cs
- TypeToken.cs
- RenderContext.cs
- XmlSchemaComplexType.cs
- StaticContext.cs
- XPathDocumentNavigator.cs
- MinimizableAttributeTypeConverter.cs
- InvalidPrinterException.cs
- PasswordRecoveryDesigner.cs
- TouchFrameEventArgs.cs
- WindowsGraphics.cs
- DBConnectionString.cs
- SequenceFullException.cs
- TextSelectionProcessor.cs
- SizeF.cs
- WorkflowCompensationBehavior.cs
- SpeakCompletedEventArgs.cs
- OracleString.cs
- WebConfigurationHost.cs
- ViewGenerator.cs
- WebPermission.cs
- LicenseManager.cs
- sqlpipe.cs
- EventData.cs
- IisTraceListener.cs
- BadImageFormatException.cs
- MimeFormImporter.cs
- storepermissionattribute.cs
- CachedTypeface.cs
- TransportChannelFactory.cs
- RunWorkerCompletedEventArgs.cs
- XmlDataContract.cs
- SynchronizedInputProviderWrapper.cs
- EntryPointNotFoundException.cs
- DecimalAnimationBase.cs
- __Filters.cs
- NameValueFileSectionHandler.cs
- SBCSCodePageEncoding.cs
- SqlFactory.cs
- SubpageParagraph.cs
- DataGridViewToolTip.cs
- AssemblyAttributesGoHere.cs
- SamlAttribute.cs
- TimeSpanStorage.cs
- _TLSstream.cs
- ModifierKeysConverter.cs
- Win32SafeHandles.cs
- TraceListener.cs
- AppDomainAttributes.cs
- DataGridViewCellFormattingEventArgs.cs
- DBConnectionString.cs
- PluralizationService.cs
- RemotingException.cs
- PathFigureCollectionConverter.cs
- ResourceContainer.cs
- TrackBarRenderer.cs
- XmlMemberMapping.cs
- ParameterBinding.cs