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
- HtmlControlPersistable.cs
- EntityObject.cs
- ViewValidator.cs
- DNS.cs
- ColumnBinding.cs
- InputReferenceExpression.cs
- FixUpCollection.cs
- WebCodeGenerator.cs
- StatusBarDesigner.cs
- Annotation.cs
- TypeBrowser.xaml.cs
- Int64AnimationBase.cs
- TextEndOfSegment.cs
- ClientBuildManager.cs
- Int64AnimationUsingKeyFrames.cs
- PagedDataSource.cs
- _NtlmClient.cs
- DiagnosticTraceSchemas.cs
- Executor.cs
- SynchronizedInputHelper.cs
- ViewGenerator.cs
- MaterializeFromAtom.cs
- RawAppCommandInputReport.cs
- VirtualizingStackPanel.cs
- SerTrace.cs
- basecomparevalidator.cs
- SoundPlayerAction.cs
- ObjectStorage.cs
- CodeMemberProperty.cs
- InboundActivityHelper.cs
- HttpStreamXmlDictionaryWriter.cs
- PropertyBuilder.cs
- Attributes.cs
- Constants.cs
- DecimalKeyFrameCollection.cs
- DetailsViewUpdatedEventArgs.cs
- HtmlElementEventArgs.cs
- BrowserDefinition.cs
- UnmanagedMarshal.cs
- ExpandableObjectConverter.cs
- InfoCardSymmetricCrypto.cs
- PTConverter.cs
- NamespaceEmitter.cs
- DataObjectEventArgs.cs
- MbpInfo.cs
- ReadOnlyPropertyMetadata.cs
- CfgParser.cs
- TaiwanCalendar.cs
- Command.cs
- ValidatingReaderNodeData.cs
- DataReceivedEventArgs.cs
- Pens.cs
- FilterableAttribute.cs
- AspNetPartialTrustHelpers.cs
- designeractionbehavior.cs
- ContentElementAutomationPeer.cs
- SqlInfoMessageEvent.cs
- UnescapedXmlDiagnosticData.cs
- AuthorizationBehavior.cs
- TextBoxBase.cs
- UriParserTemplates.cs
- XamlInterfaces.cs
- TextServicesCompartment.cs
- FileAuthorizationModule.cs
- TextFormatterHost.cs
- EntityEntry.cs
- DataSourceXmlSerializationAttribute.cs
- ItemsChangedEventArgs.cs
- RewritingValidator.cs
- UIElementPropertyUndoUnit.cs
- ReadOnlyHierarchicalDataSourceView.cs
- AppDomainProtocolHandler.cs
- ConditionCollection.cs
- TableLayoutColumnStyleCollection.cs
- EncryptedXml.cs
- XmlDictionaryString.cs
- Misc.cs
- AuthenticatingEventArgs.cs
- HttpModuleAction.cs
- SendMessageContent.cs
- ResourceSetExpression.cs
- StringAnimationUsingKeyFrames.cs
- ParentQuery.cs
- InProcStateClientManager.cs
- CodeCommentStatement.cs
- AssertFilter.cs
- TreeBuilderBamlTranslator.cs
- PieceNameHelper.cs
- ChainOfResponsibility.cs
- TextProperties.cs
- Knowncolors.cs
- AuthStoreRoleProvider.cs
- Cursors.cs
- GenericParameterDataContract.cs
- EmptyEnumerable.cs
- PassportAuthenticationModule.cs
- SerialPinChanges.cs
- AnnotationObservableCollection.cs
- GenericsInstances.cs
- Constraint.cs