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
- DataBoundControlHelper.cs
- ColorMatrix.cs
- KnownIds.cs
- ValidatingCollection.cs
- FormView.cs
- MDIClient.cs
- NoClickablePointException.cs
- AmbientValueAttribute.cs
- DockAndAnchorLayout.cs
- CqlIdentifiers.cs
- ReadOnlyHierarchicalDataSourceView.cs
- SchemaCollectionPreprocessor.cs
- RoleGroup.cs
- ParagraphVisual.cs
- ShaperBuffers.cs
- RuntimeCompatibilityAttribute.cs
- GenericIdentity.cs
- HttpHandlerActionCollection.cs
- RoutedEventArgs.cs
- StrongTypingException.cs
- TraceProvider.cs
- GridViewDeletedEventArgs.cs
- ToolbarAUtomationPeer.cs
- OptionUsage.cs
- BCLDebug.cs
- WindowsRebar.cs
- ConsumerConnectionPoint.cs
- HttpStreamXmlDictionaryReader.cs
- GcSettings.cs
- RegexInterpreter.cs
- CodeTypeConstructor.cs
- CngKeyCreationParameters.cs
- iisPickupDirectory.cs
- AppDomainShutdownMonitor.cs
- SQLInt64.cs
- BufferedStream.cs
- BinaryObjectReader.cs
- GeneratedView.cs
- XmlSchemaImport.cs
- Button.cs
- ECDiffieHellman.cs
- SelfIssuedTokenFactoryCredential.cs
- OdbcDataReader.cs
- ProcessModelInfo.cs
- StrokeCollection2.cs
- TcpAppDomainProtocolHandler.cs
- AnimatedTypeHelpers.cs
- TraceHandler.cs
- MailMessageEventArgs.cs
- CodeAttributeDeclarationCollection.cs
- Stream.cs
- WebSysDisplayNameAttribute.cs
- WebPartTracker.cs
- InternalTypeHelper.cs
- exports.cs
- WebPartUserCapability.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- DataGridLinkButton.cs
- ErasingStroke.cs
- ZipArchive.cs
- SerialErrors.cs
- HtmlEncodedRawTextWriter.cs
- ListItem.cs
- ProcessMonitor.cs
- Permission.cs
- CodeLinePragma.cs
- ContractDescription.cs
- EncoderReplacementFallback.cs
- EntitySqlQueryBuilder.cs
- WebServiceData.cs
- FormView.cs
- DefinitionBase.cs
- MsmqInputChannel.cs
- QueuePathDialog.cs
- XmlILModule.cs
- FixedNode.cs
- OracleTimeSpan.cs
- FamilyTypefaceCollection.cs
- StringBuilder.cs
- ApplicationFileCodeDomTreeGenerator.cs
- ExpandCollapseIsCheckedConverter.cs
- EncodingStreamWrapper.cs
- SetStateDesigner.cs
- MailWebEventProvider.cs
- UnknownBitmapEncoder.cs
- X509Certificate2.cs
- EventBuilder.cs
- NetSectionGroup.cs
- DataContractJsonSerializer.cs
- DbProviderServices.cs
- EntityContainerRelationshipSet.cs
- NamespaceList.cs
- WebPartRestoreVerb.cs
- ExpressionBuilder.cs
- CachingParameterInspector.cs
- ImageMetadata.cs
- UInt64Storage.cs
- CodeThrowExceptionStatement.cs
- SourceLocation.cs
- DataViewListener.cs