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
- sqlcontext.cs
- InkCanvasInnerCanvas.cs
- ParameterCollection.cs
- ThemeConfigurationDialog.cs
- ClientRoleProvider.cs
- CanonicalFontFamilyReference.cs
- DefaultMemberAttribute.cs
- HtmlTitle.cs
- MemberInfoSerializationHolder.cs
- PerfCounters.cs
- Margins.cs
- OperationAbortedException.cs
- WebPartZone.cs
- DeobfuscatingStream.cs
- ComboBoxDesigner.cs
- ListenerElementsCollection.cs
- SafeProcessHandle.cs
- RowParagraph.cs
- ButtonField.cs
- CallInfo.cs
- DecoderFallback.cs
- XmlNamespaceDeclarationsAttribute.cs
- UInt16Storage.cs
- EpmSyndicationContentDeSerializer.cs
- DateTime.cs
- DeferredTextReference.cs
- RuleInfoComparer.cs
- HostingEnvironment.cs
- CompilerGeneratedAttribute.cs
- HtmlInputFile.cs
- OdbcErrorCollection.cs
- SystemSounds.cs
- ErrorEventArgs.cs
- OracleCommandSet.cs
- HebrewNumber.cs
- Nodes.cs
- PropertyGeneratedEventArgs.cs
- ColumnReorderedEventArgs.cs
- AutoCompleteStringCollection.cs
- AttachedAnnotationChangedEventArgs.cs
- baseshape.cs
- InvalidAsynchronousStateException.cs
- VectorKeyFrameCollection.cs
- ObjectDisposedException.cs
- PenContexts.cs
- ArraySet.cs
- ServiceObjectContainer.cs
- ResourceWriter.cs
- ILGenerator.cs
- WebControlAdapter.cs
- DbgUtil.cs
- SecurityTokenAuthenticator.cs
- EventDescriptor.cs
- Psha1DerivedKeyGenerator.cs
- XmlUnspecifiedAttribute.cs
- TreeNodeConverter.cs
- UInt64Storage.cs
- NullableDecimalAverageAggregationOperator.cs
- DelegateArgumentValue.cs
- ItemDragEvent.cs
- TextFormatterContext.cs
- TraceSection.cs
- SqlStatistics.cs
- SystemResourceHost.cs
- SudsCommon.cs
- IncrementalReadDecoders.cs
- DPTypeDescriptorContext.cs
- AudioLevelUpdatedEventArgs.cs
- Point3DValueSerializer.cs
- SelectingProviderEventArgs.cs
- EventLogPermissionEntryCollection.cs
- TranslateTransform.cs
- RootBrowserWindow.cs
- EventLogStatus.cs
- DocumentOrderQuery.cs
- DateTimeSerializationSection.cs
- XmlSchemaObjectCollection.cs
- Hash.cs
- ClickablePoint.cs
- ControlValuePropertyAttribute.cs
- DeflateEmulationStream.cs
- XmlMessageFormatter.cs
- XmlSchemaCollection.cs
- CompensatableTransactionScopeActivityDesigner.cs
- CommentEmitter.cs
- UIElement3D.cs
- ForceCopyBuildProvider.cs
- ReachPageContentCollectionSerializer.cs
- XmlTypeAttribute.cs
- XDRSchema.cs
- Expressions.cs
- MessageSecurityVersionConverter.cs
- EntityDataSourceValidationException.cs
- ConfigurationManagerHelperFactory.cs
- X509CertificateStore.cs
- AdRotator.cs
- CheckPair.cs
- XmlNodeChangedEventArgs.cs
- Timer.cs
- HelpKeywordAttribute.cs