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
- GradientBrush.cs
- CompiledRegexRunner.cs
- DbProviderFactory.cs
- DocumentViewerBaseAutomationPeer.cs
- CapabilitiesAssignment.cs
- ThreadTrace.cs
- StringToken.cs
- InvalidProgramException.cs
- ComponentDesigner.cs
- _SafeNetHandles.cs
- CodeTypeDeclaration.cs
- BitmapEffectRenderDataResource.cs
- TraceInternal.cs
- CalendarBlackoutDatesCollection.cs
- _ScatterGatherBuffers.cs
- DeploymentSectionCache.cs
- TextEditorLists.cs
- BindingListCollectionView.cs
- BrowserCapabilitiesCompiler.cs
- DataGridItemEventArgs.cs
- CapabilitiesUse.cs
- WasEndpointConfigContainer.cs
- XmlDocument.cs
- SoapIncludeAttribute.cs
- IntSecurity.cs
- MeasureItemEvent.cs
- KnownBoxes.cs
- ClientOperationFormatterProvider.cs
- OracleBinary.cs
- MissingMethodException.cs
- ApplyTemplatesAction.cs
- TaiwanCalendar.cs
- Point3DIndependentAnimationStorage.cs
- TableDetailsRow.cs
- ScriptingScriptResourceHandlerSection.cs
- OleDbPermission.cs
- Setter.cs
- DictionaryEntry.cs
- DragEventArgs.cs
- HtmlElement.cs
- TypedTableGenerator.cs
- OutgoingWebResponseContext.cs
- CombinedGeometry.cs
- SchemaNames.cs
- FaultFormatter.cs
- EmptyQuery.cs
- ConfigurationSectionGroup.cs
- TreeNodeClickEventArgs.cs
- TextContainerChangeEventArgs.cs
- HasCopySemanticsAttribute.cs
- Socket.cs
- RequestCachePolicy.cs
- Effect.cs
- ReliableMessagingHelpers.cs
- FormatConvertedBitmap.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- WinHttpWebProxyFinder.cs
- ResourceContainerWrapper.cs
- RadioButtonStandardAdapter.cs
- TextReader.cs
- Canvas.cs
- Vector3DCollectionConverter.cs
- TextMetrics.cs
- Lease.cs
- CharEnumerator.cs
- PageEventArgs.cs
- recordstatefactory.cs
- XmlEntity.cs
- BuildProvidersCompiler.cs
- ReturnValue.cs
- DictionaryCustomTypeDescriptor.cs
- RawKeyboardInputReport.cs
- StringBlob.cs
- EventBuilder.cs
- DataColumn.cs
- VideoDrawing.cs
- ManagedWndProcTracker.cs
- ButtonColumn.cs
- SQLSingleStorage.cs
- TableChangeProcessor.cs
- DateTimeValueSerializer.cs
- CharacterMetrics.cs
- ProcessModule.cs
- DispatcherFrame.cs
- DisplayNameAttribute.cs
- TextBoxAutomationPeer.cs
- CodeLabeledStatement.cs
- ApplicationServicesHostFactory.cs
- Visitors.cs
- ResourceReader.cs
- PreviewKeyDownEventArgs.cs
- MetadataItem.cs
- WsdlWriter.cs
- CompositeScriptReference.cs
- SerializationStore.cs
- Lock.cs
- NamespaceList.cs
- NameValueFileSectionHandler.cs
- WebRequestModuleElementCollection.cs
- XmlValidatingReader.cs