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
- UndoEngine.cs
- ILGenerator.cs
- BindingGroup.cs
- Registry.cs
- LinkedResource.cs
- KerberosSecurityTokenProvider.cs
- WSDualHttpSecurityElement.cs
- PageEventArgs.cs
- Base64Decoder.cs
- HtmlShimManager.cs
- MaterializeFromAtom.cs
- MailBnfHelper.cs
- BinaryUtilClasses.cs
- WindowsEditBox.cs
- DeadCharTextComposition.cs
- SqlProviderManifest.cs
- XmlUrlEditor.cs
- Quaternion.cs
- ControlOperationInvoker.cs
- TextServicesDisplayAttributePropertyRanges.cs
- LifetimeServices.cs
- ExceptionRoutedEventArgs.cs
- XmlUtil.cs
- RightNameExpirationInfoPair.cs
- RelationshipWrapper.cs
- XmlSchemaSimpleType.cs
- XPathNodeList.cs
- StringFormat.cs
- SqlEnums.cs
- LogAppendAsyncResult.cs
- QueryableDataSourceEditData.cs
- WebPartCollection.cs
- CatalogZoneBase.cs
- XPathNode.cs
- ObjectListGeneralPage.cs
- ToolStripStatusLabel.cs
- CounterCreationDataCollection.cs
- HttpContextServiceHost.cs
- InvokePattern.cs
- DataColumn.cs
- LabelDesigner.cs
- OutputCacheProfileCollection.cs
- DrawingAttributesDefaultValueFactory.cs
- AutomationIdentifierGuids.cs
- PathFigure.cs
- WebControl.cs
- PixelFormat.cs
- BinaryMessageFormatter.cs
- SrgsElementFactoryCompiler.cs
- DebuggerService.cs
- _Events.cs
- TabPanel.cs
- SqlHelper.cs
- Events.cs
- NativeMethods.cs
- SEHException.cs
- MetaModel.cs
- AutomationTextAttribute.cs
- PartialCachingAttribute.cs
- IdnMapping.cs
- ImageSourceValueSerializer.cs
- AsyncOperation.cs
- DBNull.cs
- ReferenceSchema.cs
- SubMenuStyleCollection.cs
- PointAnimationUsingPath.cs
- EntityCommandDefinition.cs
- CacheRequest.cs
- SimpleHandlerFactory.cs
- VariableDesigner.xaml.cs
- RadioButtonAutomationPeer.cs
- ColorTransformHelper.cs
- IntellisenseTextBox.cs
- RegionData.cs
- EntitySqlQueryCacheEntry.cs
- MemberInfoSerializationHolder.cs
- Propagator.cs
- OdbcPermission.cs
- StyleXamlTreeBuilder.cs
- SemaphoreFullException.cs
- XamlRtfConverter.cs
- ComPlusSynchronizationContext.cs
- ConstNode.cs
- AuthStoreRoleProvider.cs
- Rfc2898DeriveBytes.cs
- NullableConverter.cs
- XmlSequenceWriter.cs
- TraceLog.cs
- EncodedStreamFactory.cs
- EventProviderTraceListener.cs
- TimeoutConverter.cs
- OneOfConst.cs
- HttpResponseInternalWrapper.cs
- BindingContext.cs
- CachedBitmap.cs
- Context.cs
- ScriptResourceMapping.cs
- TdsEnums.cs
- ImageSource.cs
- TypeConstant.cs