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
- LinkDescriptor.cs
- KeyNotFoundException.cs
- KeyConverter.cs
- MediaElementAutomationPeer.cs
- RelatedPropertyManager.cs
- DefaultPrintController.cs
- Parameter.cs
- Parser.cs
- SolidColorBrush.cs
- QueryableDataSource.cs
- XmlValidatingReader.cs
- ActivityBuilderXamlWriter.cs
- TaskExceptionHolder.cs
- DigitShape.cs
- ConfigurationValidatorAttribute.cs
- clipboard.cs
- QueryRewriter.cs
- StylusPointPropertyInfo.cs
- AccessText.cs
- ObfuscateAssemblyAttribute.cs
- DataColumnCollection.cs
- DataGridViewImageColumn.cs
- EdmFunction.cs
- DataPagerFieldCommandEventArgs.cs
- ProcessInfo.cs
- Wow64ConfigurationLoader.cs
- WSDualHttpBindingElement.cs
- XmlQueryContext.cs
- DateTimeFormatInfo.cs
- KnownColorTable.cs
- GenericEnumConverter.cs
- TimeoutException.cs
- SettingsPropertyNotFoundException.cs
- LazyTextWriterCreator.cs
- ConstraintConverter.cs
- OdbcPermission.cs
- HtmlInputImage.cs
- XmlException.cs
- WebPermission.cs
- TextElementEnumerator.cs
- DbParameterHelper.cs
- MatrixAnimationUsingPath.cs
- XmlChildEnumerator.cs
- CodeSnippetExpression.cs
- LogFlushAsyncResult.cs
- FunctionDetailsReader.cs
- GraphicsContainer.cs
- SiteMapNodeItem.cs
- Itemizer.cs
- RegexGroupCollection.cs
- EditCommandColumn.cs
- FixedDSBuilder.cs
- HttpCacheParams.cs
- WebBaseEventKeyComparer.cs
- ZoneIdentityPermission.cs
- DocumentPageHost.cs
- UniqueConstraint.cs
- SecurityToken.cs
- XsdBuilder.cs
- SHA384.cs
- ProvideValueServiceProvider.cs
- FieldMetadata.cs
- UTF7Encoding.cs
- NameScopePropertyAttribute.cs
- ToolBar.cs
- autovalidator.cs
- QuadraticBezierSegment.cs
- RuleSettingsCollection.cs
- TrackingServices.cs
- TextBoxBase.cs
- TwoPhaseCommitProxy.cs
- Positioning.cs
- QueryCacheEntry.cs
- DataGridViewCellCancelEventArgs.cs
- XmlAnyAttributeAttribute.cs
- BitmapFrameEncode.cs
- MultiPageTextView.cs
- OutputChannelBinder.cs
- ProviderCommandInfoUtils.cs
- AssociatedControlConverter.cs
- NativeMethods.cs
- StyleHelper.cs
- FlowPanelDesigner.cs
- LinqDataSourceContextData.cs
- UserPreferenceChangedEventArgs.cs
- XmlSerializerFormatAttribute.cs
- SqlHelper.cs
- Parser.cs
- NonParentingControl.cs
- HttpListenerResponse.cs
- ExcludePathInfo.cs
- UrlMapping.cs
- SqlFacetAttribute.cs
- ToolStripLabel.cs
- BackStopAuthenticationModule.cs
- LambdaSerializationException.cs
- filewebresponse.cs
- Decimal.cs
- EdmSchemaError.cs
- ObjectViewEntityCollectionData.cs