Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } } }/// Gets or sets /// the expression to throw. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpRequest.cs
- TreeIterators.cs
- ArraySubsetEnumerator.cs
- Expression.cs
- ToolStripManager.cs
- GridViewRow.cs
- RandomNumberGenerator.cs
- RectAnimationBase.cs
- ReadOnlyDictionary.cs
- RepeaterItemCollection.cs
- MsmqSecureHashAlgorithm.cs
- DependencyPropertyKey.cs
- MimeBasePart.cs
- EncryptedType.cs
- ConditionalExpression.cs
- TextRangeSerialization.cs
- InvokeSchedule.cs
- XDeferredAxisSource.cs
- CaseInsensitiveHashCodeProvider.cs
- DecoderBestFitFallback.cs
- WorkflowInstanceContextProvider.cs
- COM2PropertyDescriptor.cs
- BinaryKeyIdentifierClause.cs
- NullableIntMinMaxAggregationOperator.cs
- UIElementPropertyUndoUnit.cs
- LicenseException.cs
- Interlocked.cs
- AsymmetricCryptoHandle.cs
- StringPropertyBuilder.cs
- CellRelation.cs
- InvalidOperationException.cs
- StronglyTypedResourceBuilder.cs
- Point4D.cs
- PointCollectionConverter.cs
- TypeConverterHelper.cs
- GridViewCommandEventArgs.cs
- SecureConversationServiceCredential.cs
- TargetConverter.cs
- TextFormatterImp.cs
- MultitargetingHelpers.cs
- ReferenceEqualityComparer.cs
- SafeCancelMibChangeNotify.cs
- DocumentPageViewAutomationPeer.cs
- TdsParser.cs
- _ListenerRequestStream.cs
- StickyNoteHelper.cs
- UserUseLicenseDictionaryLoader.cs
- ManagementExtension.cs
- XmlSchemaException.cs
- TextDecorationLocationValidation.cs
- DashStyle.cs
- SelectedGridItemChangedEvent.cs
- Int64AnimationUsingKeyFrames.cs
- ElementAction.cs
- VoiceInfo.cs
- ClusterRegistryConfigurationProvider.cs
- LightweightEntityWrapper.cs
- XmlSchemaComplexType.cs
- DecimalStorage.cs
- RectangleGeometry.cs
- Compiler.cs
- ContentElementAutomationPeer.cs
- Rotation3D.cs
- ResourceAttributes.cs
- SqlClientFactory.cs
- SHA1Managed.cs
- GenericsInstances.cs
- HtmlHead.cs
- XmlValidatingReader.cs
- ConfigurationLockCollection.cs
- GlyphInfoList.cs
- CodeSnippetTypeMember.cs
- OdbcError.cs
- TypeReference.cs
- CurrentTimeZone.cs
- RowTypePropertyElement.cs
- SortedDictionary.cs
- PartitionedDataSource.cs
- RichTextBoxAutomationPeer.cs
- QueryOperationResponseOfT.cs
- BuildProvidersCompiler.cs
- ListViewDataItem.cs
- Base64Decoder.cs
- ParallelRangeManager.cs
- TextBox.cs
- StrongName.cs
- ToolStripScrollButton.cs
- UnsafeNativeMethods.cs
- RadioButton.cs
- ApplicationManager.cs
- XpsFilter.cs
- ProxyElement.cs
- HtmlInputReset.cs
- TextBoxView.cs
- RelatedCurrencyManager.cs
- __Error.cs
- ClientSideQueueItem.cs
- DataSourceControl.cs
- WebEncodingValidator.cs
- GeneralTransform2DTo3DTo2D.cs