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
- SqlEnums.cs
- ThumbButtonInfoCollection.cs
- WebPartZoneBase.cs
- TimeStampChecker.cs
- PageParserFilter.cs
- HttpBrowserCapabilitiesBase.cs
- XsdDuration.cs
- ItemCheckEvent.cs
- CacheMemory.cs
- NameValueFileSectionHandler.cs
- StringValidatorAttribute.cs
- XmlSchemaInfo.cs
- EnumType.cs
- WebPartMovingEventArgs.cs
- FieldToken.cs
- FrameworkElement.cs
- XsdSchemaFileEditor.cs
- HttpHandlersSection.cs
- SoapSchemaExporter.cs
- RawStylusInputCustomData.cs
- NonBatchDirectoryCompiler.cs
- SRef.cs
- ListSurrogate.cs
- CompositeCollection.cs
- ReceiveMessageContent.cs
- SqlStream.cs
- MetadataPropertyCollection.cs
- OdbcConnectionString.cs
- SystemException.cs
- CodeMemberField.cs
- BinaryParser.cs
- COM2AboutBoxPropertyDescriptor.cs
- XsltOutput.cs
- WindowExtensionMethods.cs
- DispatcherOperation.cs
- TextUtf8RawTextWriter.cs
- GlyphsSerializer.cs
- X509ChainElement.cs
- HandoffBehavior.cs
- Parameter.cs
- ValidationResult.cs
- HwndSource.cs
- KeyProperty.cs
- DesignerProperties.cs
- CodeCatchClauseCollection.cs
- UnsafePeerToPeerMethods.cs
- RemoveStoryboard.cs
- SharedPerformanceCounter.cs
- UserControlParser.cs
- FragmentQuery.cs
- SliderAutomationPeer.cs
- XamlPointCollectionSerializer.cs
- QueryContinueDragEvent.cs
- ReadOnlyDictionary.cs
- DbConnectionClosed.cs
- FormClosedEvent.cs
- MembershipSection.cs
- safesecurityhelperavalon.cs
- WorkflowLayouts.cs
- SQLUtility.cs
- ExpressionConverter.cs
- OperationDescription.cs
- HttpCacheVaryByContentEncodings.cs
- TextSerializer.cs
- BitmapEffectDrawingContextWalker.cs
- HttpProfileGroupBase.cs
- UnsafePeerToPeerMethods.cs
- DataStreamFromComStream.cs
- PartialCachingControl.cs
- DesignerHierarchicalDataSourceView.cs
- CommunicationObjectAbortedException.cs
- HtmlInputControl.cs
- RadioButtonRenderer.cs
- HostingPreferredMapPath.cs
- SqlUserDefinedTypeAttribute.cs
- MultiAsyncResult.cs
- TargetConverter.cs
- EventManager.cs
- ToolstripProfessionalRenderer.cs
- CharacterHit.cs
- ImageDrawing.cs
- IFlowDocumentViewer.cs
- RoleGroupCollection.cs
- IChannel.cs
- X509KeyIdentifierClauseType.cs
- SerializationEventsCache.cs
- InsufficientMemoryException.cs
- ByteStream.cs
- DbFunctionCommandTree.cs
- PersonalizationDictionary.cs
- WebConfigurationHostFileChange.cs
- MetadataArtifactLoaderFile.cs
- FrameworkContentElement.cs
- StringDictionary.cs
- keycontainerpermission.cs
- ManipulationCompletedEventArgs.cs
- ExtendedTransformFactory.cs
- httpapplicationstate.cs
- PageStatePersister.cs
- Message.cs