Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- SamlConditions.cs
- EditorPartCollection.cs
- StringConcat.cs
- MessageDecoder.cs
- WebScriptMetadataFormatter.cs
- BinaryParser.cs
- DashStyles.cs
- ResourceManager.cs
- SiteMapNodeCollection.cs
- ApplicationFileParser.cs
- SafeCoTaskMem.cs
- WindowsListViewSubItem.cs
- Point.cs
- Assign.cs
- ResolveCriteria.cs
- SoapServerMethod.cs
- MetaModel.cs
- Grid.cs
- Maps.cs
- JournalEntry.cs
- ListItemCollection.cs
- SiteMapNodeCollection.cs
- WorkflowLayouts.cs
- ButtonDesigner.cs
- LogLogRecordHeader.cs
- WindowsListViewGroupSubsetLink.cs
- DisplayMemberTemplateSelector.cs
- XhtmlConformanceSection.cs
- XmlDictionaryReaderQuotas.cs
- TableRowCollection.cs
- MetricEntry.cs
- DataContractJsonSerializer.cs
- AssertFilter.cs
- UnsafeNativeMethods.cs
- BindingRestrictions.cs
- UnsafeNativeMethods.cs
- WSSecurityOneDotZeroSendSecurityHeader.cs
- AddingNewEventArgs.cs
- SyncMethodInvoker.cs
- ContentPlaceHolder.cs
- MouseEvent.cs
- SecurityHelper.cs
- WinInetCache.cs
- WebZone.cs
- IISMapPath.cs
- cookiecollection.cs
- AlternationConverter.cs
- WriteFileContext.cs
- WpfWebRequestHelper.cs
- WebPartsPersonalizationAuthorization.cs
- Control.cs
- SelectionHighlightInfo.cs
- ProgressBarRenderer.cs
- EmptyStringExpandableObjectConverter.cs
- CrossAppDomainChannel.cs
- ColorKeyFrameCollection.cs
- StyleCollectionEditor.cs
- ShaderRenderModeValidation.cs
- DiscardableAttribute.cs
- translator.cs
- SubtreeProcessor.cs
- HttpModuleAction.cs
- ResourceReferenceExpressionConverter.cs
- ResXResourceWriter.cs
- HGlobalSafeHandle.cs
- ProxyFragment.cs
- ControlIdConverter.cs
- SingleKeyFrameCollection.cs
- DefaultSerializationProviderAttribute.cs
- validationstate.cs
- EntityRecordInfo.cs
- ButtonColumn.cs
- VectorValueSerializer.cs
- RootAction.cs
- SecurityPermission.cs
- StylusDownEventArgs.cs
- DataGridViewCellParsingEventArgs.cs
- WorkflowInstanceTerminatedRecord.cs
- AspNetPartialTrustHelpers.cs
- PersonalizableAttribute.cs
- HTMLTagNameToTypeMapper.cs
- ProxyElement.cs
- LineSegment.cs
- SecurityManager.cs
- ErrorLog.cs
- MetadataArtifactLoaderComposite.cs
- BinaryObjectReader.cs
- EntityViewGenerationAttribute.cs
- MatrixTransform.cs
- SqlBulkCopy.cs
- HtmlSelect.cs
- HttpCacheVary.cs
- HashMembershipCondition.cs
- OneOfElement.cs
- SendingRequestEventArgs.cs
- HotCommands.cs
- IncomingWebRequestContext.cs
- EmptyEnumerator.cs
- ObjectSet.cs
- GeometryGroup.cs