Code:
/ FX-1434 / FX-1434 / 1.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
- HtmlTableCell.cs
- DataGridRow.cs
- OLEDB_Enum.cs
- SqlBulkCopy.cs
- RowUpdatingEventArgs.cs
- RawStylusInput.cs
- XamlFxTrace.cs
- Propagator.Evaluator.cs
- EntitySetDataBindingList.cs
- MaskedTextBox.cs
- OdbcConnectionHandle.cs
- COAUTHIDENTITY.cs
- CompressEmulationStream.cs
- PixelShader.cs
- InheritedPropertyDescriptor.cs
- PenCursorManager.cs
- ReferentialConstraintRoleElement.cs
- ControlOperationInvoker.cs
- EventLogPermissionEntryCollection.cs
- PerCallInstanceContextProvider.cs
- DeviceContext.cs
- ComponentGlyph.cs
- FrameworkElement.cs
- XmlSchemaInclude.cs
- WebBrowserNavigatedEventHandler.cs
- CalendarDesigner.cs
- Token.cs
- MD5.cs
- StyleSheet.cs
- MessagePartProtectionMode.cs
- TypeConverterHelper.cs
- Select.cs
- RenderDataDrawingContext.cs
- IdentityHolder.cs
- infer.cs
- OleAutBinder.cs
- LayoutUtils.cs
- OleDbCommand.cs
- DataListDesigner.cs
- WindowsListViewItemCheckBox.cs
- Utility.cs
- DocumentOrderQuery.cs
- UserNameSecurityTokenProvider.cs
- SerializationEventsCache.cs
- AttachedProperty.cs
- WebPartZoneBase.cs
- TargetPerspective.cs
- CategoryNameCollection.cs
- ImplicitInputBrush.cs
- CodeComment.cs
- TraceSection.cs
- PointCollection.cs
- BitmapVisualManager.cs
- TypedTableHandler.cs
- LineServicesRun.cs
- EventLogSession.cs
- WebPageTraceListener.cs
- EpmCustomContentWriterNodeData.cs
- EmptyCollection.cs
- ControlBuilderAttribute.cs
- SinglePageViewer.cs
- NodeCounter.cs
- CSharpCodeProvider.cs
- StringUtil.cs
- ObjectResult.cs
- WebPartZoneBase.cs
- QilReplaceVisitor.cs
- DBParameter.cs
- HttpHandlerAction.cs
- Enum.cs
- DataServiceHostFactory.cs
- InternalCache.cs
- InstanceData.cs
- ProxyGenerationError.cs
- TcpTransportBindingElement.cs
- SyndicationSerializer.cs
- BaseDataListDesigner.cs
- IISMapPath.cs
- PropertyEmitterBase.cs
- ElementHostAutomationPeer.cs
- NavigatorOutput.cs
- SqlUserDefinedTypeAttribute.cs
- DataTableNewRowEvent.cs
- StorageInfo.cs
- ConfigurationLocationCollection.cs
- HttpCachePolicy.cs
- WorkflowPageSetupDialog.cs
- Rfc2898DeriveBytes.cs
- HeaderPanel.cs
- FontCacheLogic.cs
- LeafCellTreeNode.cs
- XpsDocument.cs
- ConditionCollection.cs
- X509CertificateCollection.cs
- ApplicationManager.cs
- XsdValidatingReader.cs
- CqlLexer.cs
- PageThemeParser.cs
- BitmapDownload.cs
- FontSourceCollection.cs