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
- categoryentry.cs
- GridView.cs
- SectionVisual.cs
- SubpageParagraph.cs
- AlgoModule.cs
- ComponentSerializationService.cs
- DynamicRouteExpression.cs
- SmiTypedGetterSetter.cs
- _NegotiateClient.cs
- CookielessHelper.cs
- TypeConverter.cs
- SqlUDTStorage.cs
- HostAdapter.cs
- DateTimeStorage.cs
- SQLBoolean.cs
- BinaryObjectReader.cs
- ServiceModelPerformanceCounters.cs
- HitTestWithPointDrawingContextWalker.cs
- QueryPrefixOp.cs
- NativeMethods.cs
- HttpListenerException.cs
- RangeValidator.cs
- KeyPressEvent.cs
- HtmlSelect.cs
- XmlConvert.cs
- WebPartCatalogAddVerb.cs
- ImageSource.cs
- LaxModeSecurityHeaderElementInferenceEngine.cs
- OracleConnectionString.cs
- UriSectionData.cs
- Int32EqualityComparer.cs
- ImplicitInputBrush.cs
- Merger.cs
- XmlAnyElementAttribute.cs
- Compress.cs
- BindingOperations.cs
- safesecurityhelperavalon.cs
- RepeatBehaviorConverter.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- IpcClientManager.cs
- PenContext.cs
- SessionParameter.cs
- CodeCatchClauseCollection.cs
- ThicknessKeyFrameCollection.cs
- EnumerableRowCollection.cs
- XmlSigningNodeWriter.cs
- ValidationError.cs
- querybuilder.cs
- CodeAttributeDeclarationCollection.cs
- Switch.cs
- CompilerLocalReference.cs
- CatalogZone.cs
- EditorPart.cs
- AccessKeyManager.cs
- DebuggerAttributes.cs
- ExceptionTrace.cs
- CmsUtils.cs
- ReadOnlyKeyedCollection.cs
- EventSinkHelperWriter.cs
- WorkerRequest.cs
- Vector3DCollectionConverter.cs
- pingexception.cs
- Underline.cs
- KerberosRequestorSecurityToken.cs
- State.cs
- XpsSerializerFactory.cs
- SoapCommonClasses.cs
- MetadataSource.cs
- SpeechSynthesizer.cs
- XPathNodePointer.cs
- IdnMapping.cs
- DynamicVirtualDiscoSearcher.cs
- PathSegment.cs
- OdbcUtils.cs
- FixedHighlight.cs
- PerformanceCounter.cs
- X509Certificate2.cs
- DbParameterHelper.cs
- IdentityHolder.cs
- HijriCalendar.cs
- ProgressChangedEventArgs.cs
- SystemFonts.cs
- EventMappingSettingsCollection.cs
- AsyncDataRequest.cs
- PeerInvitationResponse.cs
- InvalidateEvent.cs
- BigInt.cs
- DateTimeFormatInfoScanner.cs
- SqlMethods.cs
- HealthMonitoringSectionHelper.cs
- AvTrace.cs
- ColumnMapVisitor.cs
- AssemblyResolver.cs
- CurrentChangingEventManager.cs
- DataTableCollection.cs
- EnumBuilder.cs
- CodeTypeMemberCollection.cs
- UnauthorizedAccessException.cs
- ErrorLog.cs
- LinqDataSourceDeleteEventArgs.cs