Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- Path.cs
- XmlSchemaAnnotation.cs
- RemoteHelper.cs
- DataStorage.cs
- XmlTextReaderImpl.cs
- DesignerUtility.cs
- TextBox.cs
- XmlSchemaInferenceException.cs
- DeploymentExceptionMapper.cs
- DbConnectionInternal.cs
- SelectedDatesCollection.cs
- FileDialogCustomPlace.cs
- BitmapSource.cs
- DesignerVerb.cs
- CatalogPartCollection.cs
- ModelFactory.cs
- RegistryPermission.cs
- SystemWebExtensionsSectionGroup.cs
- XmlSerializationGeneratedCode.cs
- PerCallInstanceContextProvider.cs
- COM2PropertyDescriptor.cs
- CngAlgorithm.cs
- NoneExcludedImageIndexConverter.cs
- StringConcat.cs
- TextSyndicationContent.cs
- XmlSchemaImporter.cs
- ByteAnimationBase.cs
- XpsResourceDictionary.cs
- CryptoStream.cs
- XmlValidatingReaderImpl.cs
- PrintSchema.cs
- Pts.cs
- DebugTraceHelper.cs
- ProtocolsSection.cs
- RowCache.cs
- PageHandlerFactory.cs
- LayoutUtils.cs
- XmlWrappingWriter.cs
- CodeExpressionRuleDeclaration.cs
- NullableDecimalSumAggregationOperator.cs
- WebPartConnectionsEventArgs.cs
- UpdateExpressionVisitor.cs
- StrokeCollection2.cs
- XamlStyleSerializer.cs
- DataGridViewSortCompareEventArgs.cs
- BaseCAMarshaler.cs
- OleDbTransaction.cs
- ResourceType.cs
- Row.cs
- GridPattern.cs
- KeyManager.cs
- WS2007FederationHttpBindingCollectionElement.cs
- ObjectViewEntityCollectionData.cs
- DropSource.cs
- InstanceDataCollection.cs
- DataTableMapping.cs
- XmlEventCache.cs
- SmtpDigestAuthenticationModule.cs
- ReferenceConverter.cs
- TreeNode.cs
- ArgumentNullException.cs
- EnvironmentPermission.cs
- FormsAuthenticationConfiguration.cs
- Expressions.cs
- SqlConnectionFactory.cs
- TemplateControlParser.cs
- StringFormat.cs
- SoapIncludeAttribute.cs
- PersonalizationEntry.cs
- AmbientLight.cs
- TextRangeBase.cs
- HttpWebRequestElement.cs
- Int16AnimationUsingKeyFrames.cs
- OdbcTransaction.cs
- DSASignatureFormatter.cs
- TaskFileService.cs
- DataBindEngine.cs
- StringArrayConverter.cs
- BindingParameterCollection.cs
- ServiceErrorHandler.cs
- SqlConnectionHelper.cs
- CommunicationObjectAbortedException.cs
- OdbcCommandBuilder.cs
- HyperLinkDataBindingHandler.cs
- XmlImplementation.cs
- UnmanagedBitmapWrapper.cs
- ObfuscationAttribute.cs
- Utils.cs
- UrlAuthFailedErrorFormatter.cs
- ObjectStateFormatter.cs
- ImportContext.cs
- SettingsPropertyWrongTypeException.cs
- ParseChildrenAsPropertiesAttribute.cs
- PropertyValidationContext.cs
- ReflectionPermission.cs
- HMAC.cs
- InteropBitmapSource.cs
- DefaultSettingsSection.cs
- ListDataHelper.cs
- CapabilitiesRule.cs