Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- sqlser.cs
- TableProviderWrapper.cs
- PriorityChain.cs
- RelationshipConstraintValidator.cs
- MatrixAnimationUsingPath.cs
- XhtmlTextWriter.cs
- WebPartUtil.cs
- TileModeValidation.cs
- DataGridPageChangedEventArgs.cs
- ApplicationTrust.cs
- Debug.cs
- IdnMapping.cs
- HasCopySemanticsAttribute.cs
- SR.Designer.cs
- WaitHandleCannotBeOpenedException.cs
- SHA1Managed.cs
- VerticalAlignConverter.cs
- IDispatchConstantAttribute.cs
- AggregationMinMaxHelpers.cs
- sqlstateclientmanager.cs
- IntAverageAggregationOperator.cs
- TemplateBaseAction.cs
- ConstraintConverter.cs
- Control.cs
- EnumUnknown.cs
- PropertyGridEditorPart.cs
- filewebrequest.cs
- BrowserCapabilitiesCompiler.cs
- DataBindEngine.cs
- InternalDuplexChannelFactory.cs
- printdlgexmarshaler.cs
- ToolStripLocationCancelEventArgs.cs
- Subtree.cs
- BinHexEncoder.cs
- PackageRelationship.cs
- ServiceReference.cs
- sqlcontext.cs
- TextEditorContextMenu.cs
- FtpRequestCacheValidator.cs
- SessionStateModule.cs
- NamespaceCollection.cs
- IconBitmapDecoder.cs
- ScaleTransform3D.cs
- PageCatalogPartDesigner.cs
- WebRequest.cs
- XmlHierarchicalEnumerable.cs
- MobileListItemCollection.cs
- ProxyHelper.cs
- PageSetupDialog.cs
- SqlNamer.cs
- WCFServiceClientProxyGenerator.cs
- VoiceObjectToken.cs
- GetRecipientListRequest.cs
- ToolStripLabel.cs
- CodeComment.cs
- ToolStripPanelCell.cs
- IChannel.cs
- OperationResponse.cs
- TransformGroup.cs
- WinInet.cs
- CodeGenerationManager.cs
- PeerNameRecordCollection.cs
- EntityDataSourceDataSelection.cs
- XPathParser.cs
- MonthCalendar.cs
- HttpRuntimeSection.cs
- ContextInformation.cs
- FormView.cs
- FileIOPermission.cs
- DataListItem.cs
- Literal.cs
- ViewEvent.cs
- MultipleViewProviderWrapper.cs
- CacheHelper.cs
- ColorComboBox.cs
- DataGridViewLayoutData.cs
- GPStream.cs
- Soap12ProtocolImporter.cs
- SpStreamWrapper.cs
- PtsPage.cs
- CheckBoxField.cs
- DataRelationCollection.cs
- ServiceReference.cs
- EntityContainerEntitySet.cs
- BehaviorEditorPart.cs
- AuthenticationModuleElement.cs
- ConvertEvent.cs
- X509WindowsSecurityToken.cs
- Transform3D.cs
- CustomPopupPlacement.cs
- PathTooLongException.cs
- PasswordTextContainer.cs
- ModuleBuilder.cs
- ApplicationBuildProvider.cs
- ExpandSegment.cs
- XmlSchemaGroupRef.cs
- EventDescriptorCollection.cs
- EmptyElement.cs
- TextSimpleMarkerProperties.cs
- PriorityChain.cs