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
- HttpDigestClientCredential.cs
- SqlStatistics.cs
- GPPOINTF.cs
- ConsumerConnectionPointCollection.cs
- InvokePatternIdentifiers.cs
- WindowsGraphicsCacheManager.cs
- WindowShowOrOpenTracker.cs
- FunctionMappingTranslator.cs
- CompilerWrapper.cs
- SingleResultAttribute.cs
- AutomationProperty.cs
- EmptyReadOnlyDictionaryInternal.cs
- ReadOnlyHierarchicalDataSource.cs
- SecurityHelper.cs
- CultureInfoConverter.cs
- AuthenticationServiceManager.cs
- XmlNamespaceManager.cs
- WebPartManager.cs
- LayoutEditorPart.cs
- DecodeHelper.cs
- XPathParser.cs
- XmlSerializableServices.cs
- ConfigurationManagerInternalFactory.cs
- ArrayConverter.cs
- M3DUtil.cs
- SchemaName.cs
- OperationCanceledException.cs
- SafeLibraryHandle.cs
- XmlSerializerFactory.cs
- ColumnMapTranslator.cs
- ServerValidateEventArgs.cs
- DataGridViewCellCancelEventArgs.cs
- FrugalMap.cs
- LayoutDump.cs
- PerfCounterSection.cs
- TransformPattern.cs
- OdbcException.cs
- NullableLongMinMaxAggregationOperator.cs
- SystemNetworkInterface.cs
- Parameter.cs
- Themes.cs
- HttpRuntime.cs
- ExpressionPrefixAttribute.cs
- OperationResponse.cs
- DataGridLinkButton.cs
- AttachInfo.cs
- TraceContextRecord.cs
- DispatchChannelSink.cs
- KerberosSecurityTokenAuthenticator.cs
- ContextDataSourceView.cs
- SwitchAttribute.cs
- XmlAttributeAttribute.cs
- HtmlInputButton.cs
- ResourceDescriptionAttribute.cs
- BufferedGraphicsContext.cs
- WasHostedComPlusFactory.cs
- ConvertEvent.cs
- PromptBuilder.cs
- TaskFileService.cs
- TcpProcessProtocolHandler.cs
- ColorPalette.cs
- BitStack.cs
- GenericTextProperties.cs
- AnnotationAuthorChangedEventArgs.cs
- ImageSourceValueSerializer.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ModelTreeEnumerator.cs
- ImageButton.cs
- EdmRelationshipRoleAttribute.cs
- DataGridItemCollection.cs
- FormCollection.cs
- ItemsPanelTemplate.cs
- ZipPackage.cs
- SynchronizationContext.cs
- CreateUserWizardStep.cs
- InitializationEventAttribute.cs
- ToolboxComponentsCreatingEventArgs.cs
- SourceItem.cs
- QueryNode.cs
- InfocardClientCredentials.cs
- Set.cs
- TreeNodeStyleCollectionEditor.cs
- Utils.cs
- SystemGatewayIPAddressInformation.cs
- ErrorHandlingReceiver.cs
- FullTextLine.cs
- SqlGatherProducedAliases.cs
- OptimalTextSource.cs
- HtmlShim.cs
- Hashtable.cs
- CompositeActivityTypeDescriptor.cs
- DistinctQueryOperator.cs
- RowParagraph.cs
- MetaData.cs
- WindowsTooltip.cs
- CustomPopupPlacement.cs
- DataGridViewRowStateChangedEventArgs.cs
- _ConnectStream.cs
- EnumerableRowCollection.cs
- SerializationTrace.cs