Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets the statements within the clause. /// ///// 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets the statements within the clause. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GridProviderWrapper.cs
- NamedObject.cs
- MethodCallConverter.cs
- DataProtectionSecurityStateEncoder.cs
- OrderablePartitioner.cs
- GAC.cs
- ForEachAction.cs
- ConfigurationStrings.cs
- WpfWebRequestHelper.cs
- DbUpdateCommandTree.cs
- LinkedResource.cs
- FusionWrap.cs
- DataView.cs
- EUCJPEncoding.cs
- XmlSigningNodeWriter.cs
- Codec.cs
- DataGridItemCollection.cs
- ExtenderProviderService.cs
- WebServiceEnumData.cs
- ExecutionContext.cs
- CompilerState.cs
- ProtectedConfigurationProviderCollection.cs
- BitmapEffectState.cs
- WsdlHelpGeneratorElement.cs
- ThemeInfoAttribute.cs
- XmlText.cs
- StatusBarItemAutomationPeer.cs
- CuspData.cs
- COM2TypeInfoProcessor.cs
- ClosureBinding.cs
- PersistNameAttribute.cs
- BuildProviderCollection.cs
- WorkflowDefinitionDispenser.cs
- X509CertificateRecipientServiceCredential.cs
- SubMenuStyleCollection.cs
- StorageMappingFragment.cs
- CodeGroup.cs
- _SSPISessionCache.cs
- DispatcherHookEventArgs.cs
- SystemColors.cs
- WebServiceTypeData.cs
- XmlReflectionMember.cs
- DataGridColumn.cs
- DoubleIndependentAnimationStorage.cs
- ProfileService.cs
- ButtonChrome.cs
- ListViewSelectEventArgs.cs
- DiagnosticTraceSource.cs
- MergeEnumerator.cs
- WebPartConnectionsConfigureVerb.cs
- ReachVisualSerializer.cs
- CodeTypeMember.cs
- SizeChangedInfo.cs
- DelegateSerializationHolder.cs
- XmlEntity.cs
- StateElementCollection.cs
- XPathArrayIterator.cs
- NullToBooleanConverter.cs
- HttpModuleActionCollection.cs
- PositiveTimeSpanValidatorAttribute.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- RequestCache.cs
- TemplateControlParser.cs
- ControlCachePolicy.cs
- NativeStructs.cs
- ObjectSecurity.cs
- ExceptionHelpers.cs
- SeekStoryboard.cs
- MultipartIdentifier.cs
- RMEnrollmentPage2.cs
- JsonClassDataContract.cs
- TdsValueSetter.cs
- BooleanFunctions.cs
- CompilerError.cs
- NodeLabelEditEvent.cs
- ItemCheckedEvent.cs
- TextAction.cs
- Light.cs
- DesignUtil.cs
- SqlParameterizer.cs
- WebSysDefaultValueAttribute.cs
- PropertyGridEditorPart.cs
- ColumnMapVisitor.cs
- ErrorView.xaml.cs
- XsltConvert.cs
- TileBrush.cs
- QuerySettings.cs
- Columns.cs
- StrokeNode.cs
- XPathNodePointer.cs
- ColorMatrix.cs
- ImageList.cs
- FlowLayoutPanel.cs
- Currency.cs
- ScrollEvent.cs
- TimersDescriptionAttribute.cs
- ProfileGroupSettingsCollection.cs
- QilReplaceVisitor.cs
- FixedHighlight.cs
- FlowDocumentPaginator.cs