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
- IPEndPointCollection.cs
- LZCodec.cs
- Deflater.cs
- WindowsSysHeader.cs
- StandardOleMarshalObject.cs
- CodeTypeMember.cs
- ThreadLocal.cs
- RangeValueProviderWrapper.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- QuaternionAnimationBase.cs
- FrameSecurityDescriptor.cs
- LoginName.cs
- ProtocolsConfiguration.cs
- TitleStyle.cs
- ToolStripSplitButton.cs
- AssemblyName.cs
- DataGridViewImageCell.cs
- Enum.cs
- PointIndependentAnimationStorage.cs
- URLIdentityPermission.cs
- InfoCardHelper.cs
- XmlDictionaryReaderQuotasElement.cs
- ChildTable.cs
- SinglePageViewer.cs
- XmlCharCheckingReader.cs
- OdbcInfoMessageEvent.cs
- ReadOnlyDataSourceView.cs
- _UriSyntax.cs
- DesignerAdRotatorAdapter.cs
- HyperLinkColumn.cs
- NativeMethods.cs
- ServiceOperation.cs
- MouseOverProperty.cs
- ThemeableAttribute.cs
- WebPartConnectionCollection.cs
- PrePrepareMethodAttribute.cs
- DataBoundControlAdapter.cs
- X509IssuerSerialKeyIdentifierClause.cs
- GeometryConverter.cs
- NamespaceDecl.cs
- PathSegmentCollection.cs
- EncryptedType.cs
- __Error.cs
- SecurityTokenException.cs
- TableHeaderCell.cs
- DocumentGrid.cs
- __Error.cs
- Helpers.cs
- NumericExpr.cs
- CollectionMarkupSerializer.cs
- ListControl.cs
- WebWorkflowRole.cs
- OdbcRowUpdatingEvent.cs
- QilTypeChecker.cs
- SafeUserTokenHandle.cs
- CheckBoxField.cs
- ZipIOCentralDirectoryFileHeader.cs
- ImageCodecInfoPrivate.cs
- LinkArea.cs
- HwndMouseInputProvider.cs
- ForceCopyBuildProvider.cs
- InputMethodStateTypeInfo.cs
- XmlAttributeCache.cs
- DownloadProgressEventArgs.cs
- ValidationHelper.cs
- TranslateTransform3D.cs
- WindowsAuthenticationModule.cs
- StructuralObject.cs
- Debug.cs
- SafeRightsManagementPubHandle.cs
- DataGridViewRowPostPaintEventArgs.cs
- StringBlob.cs
- DataServiceQueryException.cs
- CopyNodeSetAction.cs
- SQLByte.cs
- PageCatalogPart.cs
- DesignTimeData.cs
- ADMembershipUser.cs
- Domain.cs
- CodeTypeReference.cs
- HttpRuntimeSection.cs
- PointKeyFrameCollection.cs
- BitmapMetadataBlob.cs
- EndOfStreamException.cs
- Accessible.cs
- Function.cs
- HtmlFormAdapter.cs
- WindowsListViewScroll.cs
- SettingsContext.cs
- DmlSqlGenerator.cs
- ComboBoxItem.cs
- PasswordDeriveBytes.cs
- ToolStripCodeDomSerializer.cs
- DataGridColumnCollection.cs
- SQLInt16.cs
- ServiceProviders.cs
- SmtpTransport.cs
- InstanceDescriptor.cs
- DetailsViewInsertEventArgs.cs
- MemberProjectionIndex.cs