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
- Paragraph.cs
- FixedSOMLineRanges.cs
- HtmlPanelAdapter.cs
- RangeBase.cs
- ProcessManager.cs
- ControlsConfig.cs
- StatusBarDrawItemEvent.cs
- LogRestartAreaEnumerator.cs
- AppDomainProtocolHandler.cs
- FaultCode.cs
- _NegoState.cs
- ServiceObjectContainer.cs
- RichTextBoxConstants.cs
- ChangePassword.cs
- SpecialNameAttribute.cs
- CheckedListBox.cs
- CodeAccessPermission.cs
- Point.cs
- CultureInfo.cs
- TableAdapterManagerNameHandler.cs
- NavigationCommands.cs
- DefaultEventAttribute.cs
- ComponentEditorForm.cs
- Char.cs
- HeaderCollection.cs
- InkPresenter.cs
- PrincipalPermission.cs
- ToolStripTextBox.cs
- XPathSelectionIterator.cs
- RectKeyFrameCollection.cs
- COAUTHINFO.cs
- DataGridViewHitTestInfo.cs
- DiagnosticStrings.cs
- RouteItem.cs
- ExceptQueryOperator.cs
- ConsoleCancelEventArgs.cs
- ListSortDescriptionCollection.cs
- SequenceDesignerAccessibleObject.cs
- XmlUtf8RawTextWriter.cs
- RowSpanVector.cs
- PermissionRequestEvidence.cs
- IgnoreFileBuildProvider.cs
- AdRotator.cs
- NetSectionGroup.cs
- XamlReaderHelper.cs
- Storyboard.cs
- ButtonBase.cs
- EDesignUtil.cs
- AnnotationMap.cs
- HttpNamespaceReservationInstallComponent.cs
- EditorBrowsableAttribute.cs
- ConnectionInterfaceCollection.cs
- IPHostEntry.cs
- UITypeEditors.cs
- ImageListUtils.cs
- FileIOPermission.cs
- CodeAssignStatement.cs
- SqlTrackingWorkflowInstance.cs
- XmlMemberMapping.cs
- Encoding.cs
- XmlLinkedNode.cs
- DescendentsWalkerBase.cs
- CompilerError.cs
- _NTAuthentication.cs
- IOThreadTimer.cs
- CompareValidator.cs
- CompositionTarget.cs
- DivideByZeroException.cs
- XmlNamespaceManager.cs
- MonthChangedEventArgs.cs
- ZipIOLocalFileDataDescriptor.cs
- ClientRolePrincipal.cs
- ControlValuePropertyAttribute.cs
- TableStyle.cs
- CommonEndpointBehaviorElement.cs
- DirtyTextRange.cs
- GradientBrush.cs
- SiteMapNodeItem.cs
- Paragraph.cs
- SortQuery.cs
- DynamicPhysicalDiscoSearcher.cs
- SerialStream.cs
- OverflowException.cs
- CodeTypeDeclarationCollection.cs
- Matrix.cs
- WeakReferenceKey.cs
- Page.cs
- DataGridPageChangedEventArgs.cs
- HostSecurityManager.cs
- EndpointAddressElementBase.cs
- MatrixTransform.cs
- WebPartAuthorizationEventArgs.cs
- RemotingException.cs
- WindowsTokenRoleProvider.cs
- HyperLink.cs
- ErrorHandlerFaultInfo.cs
- EventListener.cs
- IIS7WorkerRequest.cs
- LineBreak.cs
- SvcMapFile.cs