Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / CodeDOM / CodeCatchClause.cs / 1 / CodeCatchClause.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 CodeCatchClause { private CodeStatementCollection statements; private CodeTypeReference catchExceptionType; private string localName; ///Represents a catch exception block. ////// public CodeCatchClause() { } ////// Initializes an instance of ///. /// /// public CodeCatchClause(string localName) { this.localName = localName; } ///[To be supplied.] ////// public CodeCatchClause(string localName, CodeTypeReference catchExceptionType) { this.localName = localName; this.catchExceptionType = catchExceptionType; } ///[To be supplied.] ////// public CodeCatchClause(string localName, CodeTypeReference catchExceptionType, params CodeStatement[] statements) { this.localName = localName; this.catchExceptionType = catchExceptionType; Statements.AddRange(statements); } ///[To be supplied.] ////// public string LocalName { get { return (localName == null) ? string.Empty: localName; } set { localName = value; } } ///[To be supplied.] ////// public CodeTypeReference CatchExceptionType { get { if (catchExceptionType == null) { catchExceptionType = new CodeTypeReference(typeof(System.Exception)); } return catchExceptionType; } set { catchExceptionType = value; } } ///[To be supplied.] ////// public CodeStatementCollection Statements { get { if (statements == null) { statements = new CodeStatementCollection(); } return statements; } } } }/// Gets or sets the statements within the clause. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HTMLTagNameToTypeMapper.cs
- InputEventArgs.cs
- OnOperation.cs
- ComboBox.cs
- FillRuleValidation.cs
- TextEffectCollection.cs
- EntityCommandDefinition.cs
- UserNameSecurityTokenAuthenticator.cs
- SecurityTokenSerializer.cs
- ReflectionUtil.cs
- Brushes.cs
- StrokeCollection.cs
- CompiledELinqQueryState.cs
- EntityConnectionStringBuilder.cs
- RequestCacheManager.cs
- CompoundFileStreamReference.cs
- x509utils.cs
- PageRanges.cs
- Viewport3DVisual.cs
- SqlWebEventProvider.cs
- SolidColorBrush.cs
- MaterialCollection.cs
- securitycriticaldata.cs
- GenericEnumConverter.cs
- StringValueSerializer.cs
- RoutedEventValueSerializer.cs
- SchemaTableColumn.cs
- WorkflowDefinitionContext.cs
- WebUtility.cs
- FrameworkPropertyMetadata.cs
- StaticTextPointer.cs
- DataGridViewButtonColumn.cs
- WebHttpDispatchOperationSelector.cs
- User.cs
- PowerEase.cs
- ConfigurationPropertyAttribute.cs
- ComponentChangingEvent.cs
- OciEnlistContext.cs
- ToolStripDropDownMenu.cs
- AsyncContentLoadedEventArgs.cs
- PointHitTestParameters.cs
- ComplexTypeEmitter.cs
- ZipArchive.cs
- ReferenceService.cs
- RuleAction.cs
- ScriptManager.cs
- DeploymentSection.cs
- Matrix3DValueSerializer.cs
- Label.cs
- DataSourceProvider.cs
- UIElement3D.cs
- FontUnit.cs
- NoneExcludedImageIndexConverter.cs
- PropertyValueChangedEvent.cs
- SQLDecimal.cs
- EdmToObjectNamespaceMap.cs
- OleDragDropHandler.cs
- PageHandlerFactory.cs
- WebPartConnectionsEventArgs.cs
- TransactionInformation.cs
- NativeMethods.cs
- EncryptedXml.cs
- ConvertersCollection.cs
- MarshalByRefObject.cs
- FunctionQuery.cs
- DbConnectionFactory.cs
- TextStore.cs
- ISAPIWorkerRequest.cs
- LazyTextWriterCreator.cs
- BaseProcessProtocolHandler.cs
- AssemblyAttributesGoHere.cs
- UnsafeNativeMethodsCLR.cs
- FormView.cs
- StyleConverter.cs
- SafePipeHandle.cs
- PropertyMappingExceptionEventArgs.cs
- FormViewRow.cs
- HttpResponse.cs
- GenericXmlSecurityTokenAuthenticator.cs
- KeyedCollection.cs
- ListBoxItemWrapperAutomationPeer.cs
- TreeViewDesigner.cs
- DrawingContextWalker.cs
- Int64Converter.cs
- StickyNoteHelper.cs
- SrgsElement.cs
- SiteMapProvider.cs
- AsymmetricKeyExchangeDeformatter.cs
- TextEditor.cs
- PolyBezierSegmentFigureLogic.cs
- EventRoute.cs
- CodeGroup.cs
- RowToParametersTransformer.cs
- SrgsText.cs
- Literal.cs
- CurrencyManager.cs
- FromRequest.cs
- ReachPageContentSerializerAsync.cs
- EntityFunctions.cs
- BypassElementCollection.cs