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
- StringCollection.cs
- TcpClientChannel.cs
- DiagnosticsConfiguration.cs
- WebPartConnectionCollection.cs
- WebPartManager.cs
- NameValuePair.cs
- KoreanCalendar.cs
- XmlnsPrefixAttribute.cs
- CompilerWrapper.cs
- XmlDataSourceNodeDescriptor.cs
- WorkerRequest.cs
- SearchForVirtualItemEventArgs.cs
- CompiledIdentityConstraint.cs
- TableLayout.cs
- TextTreeFixupNode.cs
- BoundingRectTracker.cs
- UidPropertyAttribute.cs
- RemotingSurrogateSelector.cs
- NativeMethods.cs
- StrokeNodeOperations.cs
- CqlErrorHelper.cs
- AssemblyCollection.cs
- FontCacheLogic.cs
- ObjectAnimationBase.cs
- ComponentResourceKey.cs
- EntityDataSourceChangedEventArgs.cs
- SoapSchemaExporter.cs
- ResolveCriteriaCD1.cs
- ObjectPropertyMapping.cs
- ToolStripDropDownClosingEventArgs.cs
- HttpListenerTimeoutManager.cs
- Matrix3DValueSerializer.cs
- VisemeEventArgs.cs
- Visitors.cs
- TraceShell.cs
- Frame.cs
- TripleDESCryptoServiceProvider.cs
- AutoGeneratedField.cs
- DataGridViewTopRowAccessibleObject.cs
- TokenCreationException.cs
- OdbcDataAdapter.cs
- ExpressionBindings.cs
- ApplicationServiceHelper.cs
- RegistryKey.cs
- CFStream.cs
- ToolZone.cs
- SelectionRange.cs
- OleDbInfoMessageEvent.cs
- TheQuery.cs
- ScaleTransform3D.cs
- ConstructorNeedsTagAttribute.cs
- DataErrorValidationRule.cs
- CodeObject.cs
- ReflectionTypeLoadException.cs
- X509CertificateStore.cs
- DataGridViewCellConverter.cs
- ManipulationDeltaEventArgs.cs
- RemotingSurrogateSelector.cs
- InternalConfigEventArgs.cs
- ResXBuildProvider.cs
- OdbcConnectionStringbuilder.cs
- Application.cs
- SqlMetaData.cs
- dtdvalidator.cs
- MediaElement.cs
- RelOps.cs
- ArithmeticException.cs
- Mapping.cs
- DatasetMethodGenerator.cs
- WebPartConnectionsCancelEventArgs.cs
- ClientProxyGenerator.cs
- SerTrace.cs
- Operator.cs
- FixedSOMSemanticBox.cs
- ApplicationSecurityManager.cs
- ViewPort3D.cs
- SwitchElementsCollection.cs
- ITreeGenerator.cs
- MetadataCache.cs
- GestureRecognizer.cs
- TreeViewEvent.cs
- BitmapMetadataEnumerator.cs
- StreamAsIStream.cs
- ButtonBaseAdapter.cs
- ChameleonKey.cs
- Bits.cs
- _ListenerResponseStream.cs
- RuntimeCompatibilityAttribute.cs
- DataGridViewDataConnection.cs
- BitConverter.cs
- GAC.cs
- WebReferencesBuildProvider.cs
- UpDownEvent.cs
- ApplicationId.cs
- IISUnsafeMethods.cs
- Contracts.cs
- RepeatButtonAutomationPeer.cs
- LogEntrySerializer.cs
- PersonalizationStateInfo.cs
- WrapPanel.cs