Code:
/ FX-1434 / FX-1434 / 1.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
- StyleBamlTreeBuilder.cs
- WorkflowInstanceContextProvider.cs
- DetailsViewRow.cs
- WeakReferenceList.cs
- CodeAttachEventStatement.cs
- ProfileService.cs
- RectangleGeometry.cs
- relpropertyhelper.cs
- URLAttribute.cs
- SystemDiagnosticsSection.cs
- PenThreadPool.cs
- BitHelper.cs
- ClonableStack.cs
- JournalEntryListConverter.cs
- entitydatasourceentitysetnameconverter.cs
- BuilderPropertyEntry.cs
- TextSelectionProcessor.cs
- SynchronousReceiveElement.cs
- PriorityItem.cs
- CodeTypeDelegate.cs
- DesignerTransactionCloseEvent.cs
- DiagnosticSection.cs
- ServerType.cs
- OlePropertyStructs.cs
- SudsParser.cs
- ActivityCodeDomSerializer.cs
- x509utils.cs
- ObjectViewListener.cs
- BasePattern.cs
- CalendarSelectionChangedEventArgs.cs
- DataViewManagerListItemTypeDescriptor.cs
- XPathNavigatorReader.cs
- AlternateViewCollection.cs
- DecoderExceptionFallback.cs
- InteropBitmapSource.cs
- TransformGroup.cs
- UTF7Encoding.cs
- ColumnResult.cs
- Attributes.cs
- Decorator.cs
- securestring.cs
- StylesEditorDialog.cs
- SQLDouble.cs
- ProcessHostMapPath.cs
- CompatibleIComparer.cs
- RowCache.cs
- DbConnectionPoolGroup.cs
- HostVisual.cs
- Expressions.cs
- SemaphoreFullException.cs
- ScriptingProfileServiceSection.cs
- OSFeature.cs
- Sentence.cs
- SiteMapNodeCollection.cs
- BaseResourcesBuildProvider.cs
- GlyphsSerializer.cs
- OdbcHandle.cs
- UniqueIdentifierService.cs
- XmlSchemaComplexType.cs
- UncommonField.cs
- BoundConstants.cs
- PrinterResolution.cs
- DeferredElementTreeState.cs
- MemoryFailPoint.cs
- BamlBinaryReader.cs
- TypeUtil.cs
- PipelineModuleStepContainer.cs
- DbSourceParameterCollection.cs
- WebHttpDispatchOperationSelectorData.cs
- DataGridItemEventArgs.cs
- BaseDataBoundControl.cs
- Label.cs
- SqlDataReader.cs
- Debug.cs
- ProviderSettingsCollection.cs
- EllipseGeometry.cs
- RadioButton.cs
- SelectionListComponentEditor.cs
- DataContractJsonSerializer.cs
- HtmlInputPassword.cs
- WebPartEditorApplyVerb.cs
- DataTableTypeConverter.cs
- ResourceBinder.cs
- ReadWriteControlDesigner.cs
- CompilationLock.cs
- EpmTargetTree.cs
- PointAnimationUsingPath.cs
- _ConnectionGroup.cs
- DrawingImage.cs
- PolicyLevel.cs
- CompiledQueryCacheEntry.cs
- UserControlCodeDomTreeGenerator.cs
- MouseGesture.cs
- ValueProviderWrapper.cs
- DbConnectionPoolIdentity.cs
- RegexBoyerMoore.cs
- DynamicPropertyHolder.cs
- Utils.cs
- DataListCommandEventArgs.cs
- counter.cs