diff --git a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/SDKSampleLibrary/Class1.cs b/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/SDKSampleLibrary/Class1.cs
deleted file mode 100644
index c093dd47c29..00000000000
--- a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/SDKSampleLibrary/Class1.cs
+++ /dev/null
@@ -1,90 +0,0 @@
-using System;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Controls.Primitives;
-
-namespace SDKSample
-{
- //
- public class MyStateControl : ButtonBase
- {
- public MyStateControl() : base() { }
- public Boolean State
- {
- get { return (Boolean)this.GetValue(StateProperty); }
- set { this.SetValue(StateProperty, value); }
- }
- public static readonly DependencyProperty StateProperty = DependencyProperty.Register(
- "State", typeof(Boolean), typeof(MyStateControl), new PropertyMetadata(false));
- }
- //
-
- //
- public class UnrelatedStateControl : Control
- {
- public UnrelatedStateControl() { }
- public static readonly DependencyProperty StateProperty = MyStateControl.StateProperty.AddOwner(typeof(UnrelatedStateControl), new PropertyMetadata(true));
- public Boolean State
- {
- get { return (Boolean)this.GetValue(StateProperty); }
- set { this.SetValue(StateProperty, value); }
- }
- }
- //
-
- //
- public class MyAdvancedStateControl : MyStateControl
- {
- public MyAdvancedStateControl() : base() { }
- static MyAdvancedStateControl()
- {
- MyStateControl.StateProperty.OverrideMetadata(typeof(MyAdvancedStateControl), new PropertyMetadata(true));
- }
- }
- //
- public class AreaButton : Button
- {
- //
- static AreaButton()
- {
- WidthProperty.OverrideMetadata(typeof(AreaButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(InvalidateAreaProperty)));
- HeightProperty.OverrideMetadata(typeof(AreaButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(InvalidateAreaProperty)));
- }
- static void InvalidateAreaProperty(DependencyObject d, DependencyPropertyChangedEventArgs e)
- {
- d.InvalidateProperty(AreaProperty);
- }
- //
- public double Area
- {
- get { return (double)this.GetValue(AreaProperty); }
- }
- private static readonly DependencyPropertyKey AreaPropertyKey = DependencyProperty.RegisterReadOnly(
- "Area",
- typeof(double),
- typeof(AreaButton),
- new PropertyMetadata(0.0, null, new CoerceValueCallback(CalculateArea))
- );
- private static object CalculateArea(object d, object previousValue)
- {
- FrameworkElement fe = d as FrameworkElement;
- if (fe != null)
- {
- return (fe.ActualWidth * fe.ActualHeight);
- }
- else
- {
- return null;
- }
- }
-
- public static readonly DependencyProperty AreaProperty = AreaPropertyKey.DependencyProperty;
- protected override void OnClick()
- {
- this.Width += 1;
- this.Height += 1;
- base.OnClick();
- this.Content = GetValue(AreaProperty).ToString();
- }
- }
-}
diff --git a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/SDKSampleLibrary/SDKSampleLibrary.csproj b/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/SDKSampleLibrary/SDKSampleLibrary.csproj
deleted file mode 100644
index 7c3c390d624..00000000000
--- a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/SDKSampleLibrary/SDKSampleLibrary.csproj
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- net4.8
- SDKSample
-
-
-
-
-
-
-
-
-
diff --git a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XAMLAPP.sln b/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XAMLAPP.sln
deleted file mode 100644
index e3cb77c816d..00000000000
--- a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XAMLAPP.sln
+++ /dev/null
@@ -1,41 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 17
-VisualStudioVersion = 17.2.32602.215
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XAMLAPP", "XamlApp\XAMLAPP.csproj", "{AECDF9E6-8952-4583-9BB4-A304B1E46831}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SDKSampleLibrary", "SDKSampleLibrary\SDKSampleLibrary.csproj", "{055BED46-02DB-473C-97AB-EA713968A7C6}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Debug|x86 = Debug|x86
- Release|Any CPU = Release|Any CPU
- Release|x86 = Release|x86
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {AECDF9E6-8952-4583-9BB4-A304B1E46831}.Debug|Any CPU.ActiveCfg = Debug|x86
- {AECDF9E6-8952-4583-9BB4-A304B1E46831}.Debug|Any CPU.Build.0 = Debug|x86
- {AECDF9E6-8952-4583-9BB4-A304B1E46831}.Debug|x86.ActiveCfg = Debug|x86
- {AECDF9E6-8952-4583-9BB4-A304B1E46831}.Debug|x86.Build.0 = Debug|x86
- {AECDF9E6-8952-4583-9BB4-A304B1E46831}.Release|Any CPU.ActiveCfg = Debug|x86
- {AECDF9E6-8952-4583-9BB4-A304B1E46831}.Release|Any CPU.Build.0 = Debug|x86
- {AECDF9E6-8952-4583-9BB4-A304B1E46831}.Release|x86.ActiveCfg = Debug|x86
- {AECDF9E6-8952-4583-9BB4-A304B1E46831}.Release|x86.Build.0 = Debug|x86
- {055BED46-02DB-473C-97AB-EA713968A7C6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {055BED46-02DB-473C-97AB-EA713968A7C6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {055BED46-02DB-473C-97AB-EA713968A7C6}.Debug|x86.ActiveCfg = Debug|Any CPU
- {055BED46-02DB-473C-97AB-EA713968A7C6}.Debug|x86.Build.0 = Debug|Any CPU
- {055BED46-02DB-473C-97AB-EA713968A7C6}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {055BED46-02DB-473C-97AB-EA713968A7C6}.Release|Any CPU.Build.0 = Release|Any CPU
- {055BED46-02DB-473C-97AB-EA713968A7C6}.Release|x86.ActiveCfg = Release|Any CPU
- {055BED46-02DB-473C-97AB-EA713968A7C6}.Release|x86.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {61524242-572B-4BBE-80F7-FA1C03DA1856}
- EndGlobalSection
-EndGlobal
diff --git a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/XAMLAPP.csproj b/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/XAMLAPP.csproj
deleted file mode 100644
index df62802453c..00000000000
--- a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/XAMLAPP.csproj
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
- PropertySystemEsoterics
- winexe
- Debug
- bin\$(Configuration)\
- {AECDF9E6-8952-4583-9BB4-A304B1E46831}
- v4.8
-
- 10.0.20821
-
-
-
-
-
-
-
-
-
-
-
-
-
- page2.xaml
-
-
-
-
-
-
-
-
-
-
- 4.0
-
-
-
-
-
-
- {31b64cda-8444-4185-86aa-b0673eb3b143}
- SDKSampleLibrary
-
-
-
\ No newline at end of file
diff --git a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/app.xaml b/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/app.xaml
deleted file mode 100644
index 95a03dca082..00000000000
--- a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/app.xaml
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
diff --git a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/default.xaml b/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/default.xaml
deleted file mode 100644
index c287055da0e..00000000000
--- a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/default.xaml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/page2.xaml b/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/page2.xaml
deleted file mode 100644
index 58c7598b9a5..00000000000
--- a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/page2.xaml
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
-
-
- Control.Background
- Storyboard.TargetName
- FrameworkElement.DataContext
- FrameworkElement.Margin
-
- ToggleButton.IsChecked
- ToolBar.Orientation
- UIElement.Visibility
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Metadata information
- Value for selected property
- Metadata class
-
- Type of Property Value
-
- Default Property Value
-
- Has CoerceValue?
-
- Has PropertyChanged?
-
- Read Only?
-
- Framework Property Metadata
- Affects Arrange?
- N/A
- Affects Measure?
- N/A
- Affects Render?
- N/A
-
- Inherits?
- N/A
-
-
- IsDataBindingAllowed?
- N/A
- Binds two-way by default?
- N/A
-
-
-
diff --git a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/sampleid.txt b/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/sampleid.txt
deleted file mode 100644
index 29c410c9731..00000000000
--- a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/XamlApp/sampleid.txt
+++ /dev/null
@@ -1 +0,0 @@
-wcpsamp_core_dpclearvalue
diff --git a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/snippets.5000.json b/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/snippets.5000.json
deleted file mode 100644
index 9493e733615..00000000000
--- a/snippets/csharp/System.Windows/DependencyProperty/DefaultMetadata/snippets.5000.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "host": "visualstudio"
-}
\ No newline at end of file
diff --git a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp.sln b/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp.sln
deleted file mode 100644
index e8d1e2a6907..00000000000
--- a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp.sln
+++ /dev/null
@@ -1,31 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 17
-VisualStudioVersion = 17.2.32602.215
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ColorPickerLib", "ColorPickerLib\ColorPickerLib.csproj", "{3446F2C2-E123-4B82-84F7-0883BEE401DA}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ColorPickerApp", "ColorPickerApp\ColorPickerApp.csproj", "{28614DF8-6DBA-4F51-8A89-C0C690536217}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {3446F2C2-E123-4B82-84F7-0883BEE401DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3446F2C2-E123-4B82-84F7-0883BEE401DA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {3446F2C2-E123-4B82-84F7-0883BEE401DA}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3446F2C2-E123-4B82-84F7-0883BEE401DA}.Release|Any CPU.Build.0 = Release|Any CPU
- {28614DF8-6DBA-4F51-8A89-C0C690536217}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {28614DF8-6DBA-4F51-8A89-C0C690536217}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {28614DF8-6DBA-4F51-8A89-C0C690536217}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {28614DF8-6DBA-4F51-8A89-C0C690536217}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {E3E86D4E-3F6A-4DB3-AAB1-6AFCF1B18D46}
- EndGlobalSection
-EndGlobal
diff --git a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/ColorPickerApp.csproj b/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/ColorPickerApp.csproj
deleted file mode 100644
index 3dcedf3eff9..00000000000
--- a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/ColorPickerApp.csproj
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
- en-US
- Debug
- AnyCPU
- {28614DF8-6DBA-4F51-8A89-C0C690536217}
- ColorPickerApp
- ColorPickerApp
- 4
- winexe
- 1.0.0.*
-
- 10.0.20821
- 2.0
- v4.8
- {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
-
-
-
- true
- full
- false
- .\bin\Debug\
- DEBUG;TRACE
-
-
- false
- true
- .\bin\Release\
- TRACE
-
-
-
-
-
-
-
-
- 4.0
-
-
-
-
-
- MSBuild:Compile
- Designer
- MSBuild:Compile
- Designer
-
-
- MSBuild:Compile
- Designer
- MSBuild:Compile
- Designer
-
-
-
-
-
-
-
-
-
-
- {3446f2c2-e123-4b82-84f7-0883bee401da}
- ColorPickerLib
-
-
-
-
\ No newline at end of file
diff --git a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/MyApp.xaml.cs b/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/MyApp.xaml.cs
deleted file mode 100644
index 81c5abc1825..00000000000
--- a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/MyApp.xaml.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-using System;
-using System.Windows;
-using System.Configuration;
-using System.ComponentModel;
-using System.Windows.Media;
-using System.Windows.Data;
-
-namespace ColorPickerApp
-{
- ///
- /// Interaction logic for MyApp.xaml
- ///
-
- public partial class MyApp : Application
- {
- void AppStartup(object sender, StartupEventArgs args)
- {
- Window1 mainWindow = new Window1();
- mainWindow.Show();
- }
- }
- public class ColorGradientConverter : IValueConverter
- {
- public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- string param = parameter as string;
- Color color = (Color)value;
- if (param != null)
- {
- switch (param)
- {
- case "Red":
- return new LinearGradientBrush(Color.FromRgb(0, color.G, color.B), Color.FromRgb(255, color.G, color.B), 0);
- case "Green":
- return new LinearGradientBrush(Color.FromRgb(color.R, 0, color.B), Color.FromRgb(color.R, 255, color.B), 0);
- case "Blue":
- return new LinearGradientBrush(Color.FromRgb(color.R, color.G, 0), Color.FromRgb(color.R, color.G, 255), 0);
- default:
- throw new ArgumentException("not valid value", "parameter");
- }
- }
- throw new ArgumentException("parameter not a string");
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- throw new NotSupportedException();
- }
- }
-}
\ No newline at end of file
diff --git a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/Properties/AssemblyInfo.cs b/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/Properties/AssemblyInfo.cs
deleted file mode 100644
index a880eda321d..00000000000
--- a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-#region Using directives
-
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Resources;
-using System.Globalization;
-using System.Windows;
-using System.Runtime.InteropServices;
-
-#endregion
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("ColorPickerApp")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("MSFT")]
-[assembly: AssemblyProduct("ColorPickerApp")]
-[assembly: AssemblyCopyright("Copyright @ MSFT 2005")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-[assembly: ComVisible(false)]
-
-//In order to begin building localizable applications, set
-//CultureYouAreCodingWith in your .csproj file
-//inside a . For example, if you are using US english
-//in your source files, set the to en-US. Then uncomment
-//the NeutralResourceLanguage attribute below. Update the "en-US" in
-//the line below to match the UICulture setting in the project file.
-
-//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
-
-//This attribute describes where any theme specific and generic resource dictionaries can be found.
-[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Revision and Build Numbers
-// by using the '*' as shown below:
-[assembly: AssemblyVersion("1.0.*")]
diff --git a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/Window1.xaml b/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/Window1.xaml
deleted file mode 100644
index 363f0f769a6..00000000000
--- a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/Window1.xaml
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/Window1.xaml.cs b/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/Window1.xaml.cs
deleted file mode 100644
index 0ac51dfda9a..00000000000
--- a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerApp/Window1.xaml.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-using System;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Media;
-using System.Windows.Shapes;
-using System.Diagnostics;
-
-namespace ColorPickerApp
-{
- ///
- /// Interaction logic for Window1.xaml
- ///
-
- public partial class Window1 : Window
- {
- public Window1()
- {
- InitializeComponent();
- }
-
- private void changeColor(object sender, RoutedEventArgs e)
- {
- colorPicker.Color = Colors.Blue;
- }
-
- private void getColor(object sender, RoutedEventArgs e)
- {
- textBlockCurrentColor.Text = MaincolorPicker.Color.ToString();
- }
- //
- private void OnColorChanged(object sender, RoutedPropertyChangedEventArgs e)
- {
- colorPickerValue.Text = e.NewValue.ToString();
- }
- //
- }
-}
\ No newline at end of file
diff --git a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerLib/ColorPicker.cs b/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerLib/ColorPicker.cs
deleted file mode 100644
index 01026bd0320..00000000000
--- a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerLib/ColorPicker.cs
+++ /dev/null
@@ -1,220 +0,0 @@
-using System;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Media;
-using System.Windows.Data;
-//
-using System.Windows.Markup;
-//
-using System.ComponentModel;
-
-namespace ColorPickerLib
-{
- public class ColorPicker : Control
- {
- //
- //
- private Color _colorCache;
- //
-
- static ColorPicker()
- {
- DefaultStyleKeyProperty.OverrideMetadata(typeof(ColorPicker), new FrameworkPropertyMetadata(typeof(ColorPicker)));
- }
- //
-
- //
- public ColorPicker()
- {
- _colorCache = (Color)ColorProperty.GetMetadata(this).DefaultValue;
- SetupColorBindings();
- }
- //
-
- //
- private void SetupColorBindings()
- {
- MultiBinding binding = new MultiBinding();
-
- binding.Converter = new ByteColorMultiConverter();
- binding.Mode = BindingMode.TwoWay;
-
- Binding redBinding = new Binding("Red");
- redBinding.Source = this;
- redBinding.Mode = BindingMode.TwoWay;
- binding.Bindings.Add(redBinding);
-
- Binding greenBinding = new Binding("Green");
- greenBinding.Source = this;
- greenBinding.Mode = BindingMode.TwoWay;
- binding.Bindings.Add(greenBinding);
-
- Binding blueBinding = new Binding("Blue");
- blueBinding.Source = this;
- blueBinding.Mode = BindingMode.TwoWay;
- binding.Bindings.Add(blueBinding);
-
- this.SetBinding(ColorProperty, binding);
- }
- //
-
- //
- public static DependencyProperty ColorProperty = DependencyProperty.Register(
- "Color",
- typeof(Color),
- typeof(ColorPicker),
- new PropertyMetadata(Colors.Black));
- //
-
- //
- public Color Color
- {
- get
- {
- return (Color)GetValue(ColorProperty);
- }
- set
- {
- SetValue(ColorProperty, value);
- }
- }
- //
-
- //
- public static DependencyProperty RedProperty = DependencyProperty.Register(
- "Red",
- typeof(byte),
- typeof(ColorPicker));
-
- public static DependencyProperty GreenProperty = DependencyProperty.Register(
- "Green",
- typeof(byte),
- typeof(ColorPicker));
-
- public static DependencyProperty BlueProperty = DependencyProperty.Register(
- "Blue",
- typeof(byte),
- typeof(ColorPicker));
- //
-
- //
- public byte Red
- {
- get { return (byte)GetValue(RedProperty); }
- set { SetValue(RedProperty, value); }
- }
-
- public byte Green
- {
- get { return (byte)GetValue(GreenProperty); }
- set { SetValue(GreenProperty, value); }
- }
-
- public byte Blue
- {
- get { return (byte)GetValue(BlueProperty); }
- set { SetValue(BlueProperty, value); }
- }
- //
-
- //
-
- //
- public static readonly RoutedEvent ColorChangedEvent =
- EventManager.RegisterRoutedEvent("ColorChanged", RoutingStrategy.Bubble, typeof(RoutedPropertyChangedEventHandler), typeof(ColorPicker));
- //
-
- //
- public event RoutedPropertyChangedEventHandler ColorChanged
- {
- add { AddHandler(ColorChangedEvent, value); }
- remove { RemoveHandler(ColorChangedEvent, value); }
- }
- //
-
- //
- protected virtual void OnColorChanged(Color oldValue, Color newValue)
- {
- RoutedPropertyChangedEventArgs args = new RoutedPropertyChangedEventArgs(oldValue, newValue);
- args.RoutedEvent = ColorPicker.ColorChangedEvent;
- RaiseEvent(args);
- }
- //
-
- //
-
- //
-
- //
- private static void OnColorInvalidated(DependencyObject d, DependencyPropertyChangedEventArgs e)
- {
- ColorPicker picker = (ColorPicker)d;
-
- Color oldValue = (Color)e.OldValue;
- Color newValue = (Color)e.NewValue;
-
- picker.OnColorChanged(oldValue, newValue);
- }
- //
-
- //
- }
- //
- public class ByteColorMultiConverter : IMultiValueConverter
- {
-
- public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- if (values.Length != 3)
- {
- throw new ArgumentException("need three values");
- }
-
- byte red = (byte)values[0];
- byte green = (byte)values[1];
- byte blue = (byte)values[2];
-
- return Color.FromRgb(red, green, blue);
- }
-
- public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture)
- {
- Color color = (Color)value;
-
- return new object[] { color.R, color.G, color.B };
- }
- }
- //
-
- //
- public class ByteDoubleConverter : IValueConverter
- {
- public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- return (double)(byte)value;
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- return (byte)(double)value;
- }
- }
- //
-
- //
- [ValueConversion(typeof(Color), typeof(SolidColorBrush))]
- public class ColorBrushConverter : IValueConverter
- {
- public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- Color color = (Color)value;
- return new SolidColorBrush(color);
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- return null;
- }
- }
- //
-}
diff --git a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerLib/ColorPickerLib.csproj b/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerLib/ColorPickerLib.csproj
deleted file mode 100644
index b6541fb5fa6..00000000000
--- a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerLib/ColorPickerLib.csproj
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- net4.8
- true
-
-
-
-
- MSBuild:Compile
-
-
-
-
diff --git a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerLib/Themes/generic.xaml b/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerLib/Themes/generic.xaml
deleted file mode 100644
index decc92ceef9..00000000000
--- a/snippets/csharp/System.Windows/Setter/TargetName/ColorPickerLib/Themes/generic.xaml
+++ /dev/null
@@ -1,120 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/snippets/csharp/System.Windows/Setter/TargetName/snippets.5000.json b/snippets/csharp/System.Windows/Setter/TargetName/snippets.5000.json
deleted file mode 100644
index 9493e733615..00000000000
--- a/snippets/csharp/System.Windows/Setter/TargetName/snippets.5000.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "host": "visualstudio"
-}
\ No newline at end of file
diff --git a/snippets/csharp/VS_Snippets_CFX/channelmanagerservice/cs/channelmanagerservice.csproj b/snippets/csharp/VS_Snippets_CFX/channelmanagerservice/cs/channelmanagerservice.csproj
deleted file mode 100644
index 8db00e46c95..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/channelmanagerservice/cs/channelmanagerservice.csproj
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 9.0.20709
- 2.0
- {36F8DD32-5B7C-4BB4-A627-87B22AE41939}
- Library
- Properties
- ChannelManagerService
- ChannelManagerService
- v3.5
- 512
-
-
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
-
-
-
-
-
-
-
-
- 3.0
-
-
- 3.0
-
-
- 3.5
-
-
-
-
\ No newline at end of file
diff --git a/snippets/csharp/VS_Snippets_CFX/freeformactivitydesigner/cs/freeformactivitydesigner.csproj b/snippets/csharp/VS_Snippets_CFX/freeformactivitydesigner/cs/freeformactivitydesigner.csproj
deleted file mode 100644
index 9b76a991008..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/freeformactivitydesigner/cs/freeformactivitydesigner.csproj
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 9.0.21022
- 2.0
- {940B3C9F-DD6F-4D10-BAB6-661D24777A0D}
- Library
- Properties
- FreeformActivityDesignerSnippets
- FreeformActivityDesigner
- v3.5
- 512
-
-
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
-
-
-
-
-
-
-
-
-
-
- 3.0
-
-
- 3.0
-
-
-
-
\ No newline at end of file
diff --git a/snippets/csharp/VS_Snippets_CFX/operationinfo/cs/operationinfo.csproj b/snippets/csharp/VS_Snippets_CFX/operationinfo/cs/operationinfo.csproj
deleted file mode 100644
index c2b8b55a6e5..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/operationinfo/cs/operationinfo.csproj
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 9.0.20709
- 2.0
- {A925D8FF-60B3-4C31-A368-90A3ADDDB008}
- Library
- Properties
- OperationInfo
- OperationInfo
- v3.5
- 512
-
-
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
-
-
-
-
-
-
-
-
- 3.0
-
-
- 3.0
-
-
- 3.5
-
-
-
-
\ No newline at end of file
diff --git a/snippets/csharp/VS_Snippets_CFX/operationinfo/cs/operationinfosnippets.cs b/snippets/csharp/VS_Snippets_CFX/operationinfo/cs/operationinfosnippets.cs
deleted file mode 100644
index 3de13d3b4aa..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/operationinfo/cs/operationinfosnippets.cs
+++ /dev/null
@@ -1,103 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-using System.Workflow.Activities;
-
-namespace OperationInfoSnippets
-{
- class OperationInfoSnippets
- {
- void container0()
- {
- //OperationInfo.OperationInfo()
- //
- OperationInfo info = new OperationInfo();
- //
- }
-
- void container1()
- {
- //OperationInfo.ContractName
- //
- OperationInfo info = new OperationInfo();
- info.ContractName = "Contract1";
- //
- }
- void container2()
- {
- //OperationInfo.HasProtectionLevel
- //
- OperationInfo info = new OperationInfo();
- bool hasProtectionLevel = info.HasProtectionLevel;
- //
- }
- void container3()
- {
- //OperationInfo.IsOneWay
- //
- OperationInfo info = new OperationInfo();
- bool isOneWay = info.IsOneWay;
- //
- }
- void container4()
- {
- //OperationInfo.Parameters
- //
- ReceiveActivity receive = new ReceiveActivity();
- OperationInfo info = new OperationInfo();
- info.Name = "Echo";
- OperationParameterInfo parameterInfo = new OperationParameterInfo();
- parameterInfo.Attributes = ((System.Reflection.ParameterAttributes)((System.Reflection.ParameterAttributes.Out | System.Reflection.ParameterAttributes.Retval)));
- parameterInfo.Name = "(ReturnValue)";
- parameterInfo.ParameterType = typeof(string);
- parameterInfo.Position = -1;
- info.Parameters.Add(parameterInfo);
- receive.ServiceOperationInfo = info;
- //
- }
- void container5()
- {
- //OperationInfo.ProtectionLevel
- //
- OperationInfo info = new OperationInfo();
- info.ProtectionLevel = System.Net.Security.ProtectionLevel.EncryptAndSign;
- //
- }
- void container6()
- {
- //OperationInfo.Clone
- //
- OperationInfo info1 = new OperationInfo();
- OperationInfo info2 = (OperationInfo)info1.Clone();
- //
- }
- bool container7()
- {
- //OperationInfo.Equals
- //
- OperationInfo info1 = new OperationInfo();
- info1.Name = "ProcessData";
- OperationInfo info2 = new OperationInfo();
- info2.Name = "ProcessData";
- return info1.Equals(info2);
- //
- }
- void container8()
- {
- //OperationInfo.GetHashCode
- //
- OperationInfo info = new OperationInfo();
- info.Name = "ProcessData";
- int code = info.GetHashCode();
- //
- }
- void container9()
- {
- //OperationInfo.ToString
- //
- OperationInfo info = new OperationInfo();
- String infoString = info.ToString();
- //
- }
- }
-}
diff --git a/snippets/csharp/VS_Snippets_CFX/receiveactivity/cs/receiveactivity.csproj b/snippets/csharp/VS_Snippets_CFX/receiveactivity/cs/receiveactivity.csproj
deleted file mode 100644
index 083b2bc74b8..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/receiveactivity/cs/receiveactivity.csproj
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 9.0.20709
- 2.0
- {C9AC3D36-2198-4AE9-AAD4-2D811EE9AD06}
- Library
- Properties
- ReceiveActivity
- ReceiveActivity
- v3.5
- 512
-
-
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
-
-
-
-
-
-
-
-
- 3.0
-
-
- 3.0
-
-
- 3.0
-
-
- 3.0
-
-
- 3.0
-
-
- 3.5
-
-
-
-
\ No newline at end of file
diff --git a/snippets/csharp/VS_Snippets_CFX/receiveactivity/cs/snippets.cs b/snippets/csharp/VS_Snippets_CFX/receiveactivity/cs/snippets.cs
deleted file mode 100644
index a38b3fec918..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/receiveactivity/cs/snippets.cs
+++ /dev/null
@@ -1,239 +0,0 @@
-using System;
-using System.IdentityModel;
-using System.IdentityModel.Claims;
-using System.Runtime.Serialization;
-using System.Workflow.Activities;
-using System.Workflow.ComponentModel;
-using System.ServiceModel;
-using System.Collections.Generic;
-using System.Xml;
-using System.ServiceModel.Channels;
-
-namespace ReceiveActivitySnippets
-{
- class snippets
- {
- void Container0()
- {
- //ReceiveActivity.CanCreateInstance
- //
- ReceiveActivity receiveRequestShippingQuote;
- CodeActivity doAcceptQuoteRequest;
-
- doAcceptQuoteRequest = new System.Workflow.Activities.CodeActivity();
- receiveRequestShippingQuote = new System.Workflow.Activities.ReceiveActivity();
-
- receiveRequestShippingQuote.Activities.Add(doAcceptQuoteRequest);
- receiveRequestShippingQuote.CanCreateInstance = true;
- //
- }
- void Container1()
- {
- //ReceiveActivity.ContextToken
- //
- ReceiveActivity receiveQuoteFromShipper3;
- receiveQuoteFromShipper3 = new System.Workflow.Activities.ReceiveActivity();
- System.Workflow.Activities.ContextToken contexttoken1 = new System.Workflow.Activities.ContextToken();
- contexttoken1.Name = "Shipper3Context";
- receiveQuoteFromShipper3.ContextToken = contexttoken1;
- //
- }
- void Container2()
- {
- //ReceiveActivity.FaultMessage
- //
- ReceiveActivity receiveQuote;
- receiveQuote = new ReceiveActivity();
-
- FaultException message = receiveQuote.FaultMessage;
- //
- }
- void Container3()
- {
- //ReceiveActivity.ParameterBindings
- //
- ReceiveActivity receiveQuoteFromShipper1 = new ReceiveActivity();
- CodeActivity shipper1ShippingQuote = new CodeActivity();
- ContextToken contextToken1 = new ContextToken();
- ActivityBind activityBind1 = new ActivityBind();
- WorkflowParameterBinding workflowParameterBinding1 = new WorkflowParameterBinding();
- TypedOperationInfo typedOperationInfo1 = new TypedOperationInfo();
-
- receiveQuoteFromShipper1.Activities.Add(shipper1ShippingQuote);
- contextToken1.Name = "Shipper1Context";
- contextToken1.OwnerActivityName = "GetShippingQuotes";
- receiveQuoteFromShipper1.ContextToken = contextToken1;
- receiveQuoteFromShipper1.Name = "receiveQuoteFromShipper1";
- activityBind1.Name = "SupplierWorkflow";
- activityBind1.Path = "quoteShipper1";
- workflowParameterBinding1.ParameterName = "quote";
- workflowParameterBinding1.SetBinding(WorkflowParameterBinding.ValueProperty, ((ActivityBind)(activityBind1)));
- receiveQuoteFromShipper1.ParameterBindings.Add(workflowParameterBinding1);
- typedOperationInfo1.ContractType = typeof(IShippingQuote);
- typedOperationInfo1.Name = "ShippingQuote";
- receiveQuoteFromShipper1.ServiceOperationInfo = typedOperationInfo1;
- //
- }
- void Container4()
- {
- //ReceiveActivity.ServiceOperationInfo
- //
- ReceiveActivity receiveQuoteFromShipper1 = new ReceiveActivity();
- CodeActivity shipper1ShippingQuote = new CodeActivity();
- ContextToken contextToken1 = new ContextToken();
- ActivityBind activityBind1 = new ActivityBind();
- WorkflowParameterBinding workflowParameterBinding1 = new WorkflowParameterBinding();
- TypedOperationInfo typedOperationInfo1 = new TypedOperationInfo();
-
- receiveQuoteFromShipper1.Activities.Add(shipper1ShippingQuote);
- contextToken1.Name = "Shipper1Context";
- contextToken1.OwnerActivityName = "GetShippingQuotes";
- receiveQuoteFromShipper1.ContextToken = contextToken1;
- receiveQuoteFromShipper1.Name = "receiveQuoteFromShipper1";
- activityBind1.Name = "SupplierWorkflow";
- activityBind1.Path = "quoteShipper1";
- workflowParameterBinding1.ParameterName = "quote";
- workflowParameterBinding1.SetBinding(WorkflowParameterBinding.ValueProperty, ((ActivityBind)(activityBind1)));
- receiveQuoteFromShipper1.ParameterBindings.Add(workflowParameterBinding1);
- typedOperationInfo1.ContractType = typeof(IShippingQuote);
- typedOperationInfo1.Name = "ShippingQuote";
- receiveQuoteFromShipper1.ServiceOperationInfo = typedOperationInfo1;
- //
- }
- void Container5()
- {
- //ReceiveActivity.GetWorkflowServiceAttributes
- Activity rootActivity = new Activity();
- //
- WorkflowServiceAttributes serviceAttributes = (WorkflowServiceAttributes)ReceiveActivity.GetWorkflowServiceAttributes(rootActivity);
- //
- }
- void Container6()
- {
- //ReceiveActivity.SetWorkflowServiceAttributes
- ReceiveActivity receiveActivity1 = new ReceiveActivity();
- //
- WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();
- attributes.ConfigurationName = "ServiceConfig";
- attributes.IncludeExceptionDetailInFaults = true;
- attributes.AddressFilterMode = AddressFilterMode.Exact;
-
- ReceiveActivity.SetWorkflowServiceAttributes(receiveActivity1, attributes);
- //
- }
- //ReceiveActivity.OperationValidation
- Claim AuthorizedClaim = new Claim("placeholder", null, "placeholder");
- //
- [System.Diagnostics.DebuggerNonUserCode]
- private void InitializeComponent()
- {
- ReceiveActivity receiveActivity1 = new ReceiveActivity();
- receiveActivity1.OperationValidation += new EventHandler(receiveActivity1_OperationValidation);
- }
-
- void receiveActivity1_OperationValidation(object sender, OperationValidationEventArgs e)
- {
- OperationContext context = OperationContext.Current;
- bool authorized = false;
- foreach (ClaimSet claims in context.ServiceSecurityContext.AuthorizationContext.ClaimSets)
- {
- if (claims.ContainsClaim(AuthorizedClaim))
- {
- authorized = true;
- }
- }
- e.IsValid = authorized;
- }
-
- //
-
- void Container11()
- {
- //ReceiveActivity.ReceiveActivity()
- //
- ReceiveActivity receiveActivity1 = new ReceiveActivity();
- //
- }
- void Container12()
- {
- //ReceiveActivity.ReceiveActivity(String)
- //
- ReceiveActivity receiveActivity1 = new ReceiveActivity("receiveActivity1");
- //
- }
- void Container13()
- {
- //ReceiveActivity.GetContext(Activity, ContextToken)
- //
- ReceiveActivity receiveActivity1 = new ReceiveActivity();
- Dictionary context = (Dictionary)ReceiveActivity.GetContext(receiveActivity1, receiveActivity1.ContextToken);
- //
- }
-
- //14 was a discontinued method
-
- void Container15()
- {
- //ReceiveActivity.GetContext(Activity, String, String)
- //
- ReceiveActivity receiveActivity1 = new ReceiveActivity();
- Dictionary context =
- (Dictionary)ReceiveActivity.GetContext(
- receiveActivity1,
- "ContextToken1",
- "ReceiveActivity1");
- //
- }
- void Container16()
- {
- //ReceiveActivity.GetRootContext
- //
- ReceiveActivity receiveActivity1 = new ReceiveActivity();
- Dictionary context =
- (Dictionary)ReceiveActivity.GetRootContext(receiveActivity1);
- //
- }
-
- //ReceiveActivity.Context
- //
- // Create EndpointAddress from Uri and ReceiveActivity
- static public EndpointAddress CreateEndpointAddress(string uri, ReceiveActivity receiveActivity)
- {
- return CreateEndpointAddress(uri, receiveActivity.Context);
- }
- //
-
- // Create EndpointAddress from Uri and Context
- static public EndpointAddress CreateEndpointAddress(string uri, IDictionary context)
- {
- EndpointAddress epr = null;
- if (context != null && context.Count > 0)
- {
- AddressHeader contextHeader = AddressHeader.CreateAddressHeader(contextHeaderName, contextHeaderNamespace, new Dictionary(context));
- epr = new EndpointAddress(new Uri(uri), contextHeader);
- }
- else
- {
- epr = new EndpointAddress(uri);
- }
- return epr;
- }
- static readonly string contextHeaderName = "Context";
- static readonly string contextHeaderNamespace = "http://schemas.microsoft.com/ws/2006/05/context";
-
- [ServiceContract]
- public interface IShippingQuote
- {
- [OperationContract(IsOneWay = true)]
- void ShippingQuote(ShippingQuote quote);
- }
- [DataContract]
- public class ShippingQuote
- {
- [DataMember]
- public int ShippingCost;
- [DataMember]
- public DateTime EstimatedShippingDate;
- }
- }
-}
diff --git a/snippets/csharp/VS_Snippets_CFX/sendactivity/cs/snippets.cs b/snippets/csharp/VS_Snippets_CFX/sendactivity/cs/snippets.cs
deleted file mode 100644
index 5f6338a76d4..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/sendactivity/cs/snippets.cs
+++ /dev/null
@@ -1,200 +0,0 @@
-using System;
-using System.Workflow.Activities;
-using System.Workflow.ComponentModel;
-using System.Collections.Generic;
-using System.ServiceModel;
-using System.ServiceModel.Channels;
-using System.Xml;
-
-namespace SendActivitySnippets
-{
- class snippets
- {
- void Container0()
- {
- ChannelToken channelToken1 = new ChannelToken();
- SendActivity RequestQuoteFromShipper3 = new SendActivity();
- ActivityBind activityBind2 = new ActivityBind();
- ActivityBind activityBind3 = new ActivityBind();
- ActivityBind activityBind4 = new ActivityBind();
- WorkflowParameterBinding workflowParameterBinding2 = new WorkflowParameterBinding();
- WorkflowParameterBinding workflowParameterBinding3 = new WorkflowParameterBinding();
- WorkflowParameterBinding workflowParameterBinding4 = new WorkflowParameterBinding();
-
- //SendActivity.ParameterBindings
- //
- channelToken1.EndpointName = "Shipper3Endpoint";
- channelToken1.Name = "Shipper3Endpoint";
- channelToken1.OwnerActivityName = "GetShippingQuotes";
- RequestQuoteFromShipper3.ChannelToken = channelToken1;
- RequestQuoteFromShipper3.Name = "RequestQuoteFromShipper3";
- activityBind2.Name = "SupplierWorkflow";
- activityBind2.Path = "order";
- workflowParameterBinding2.ParameterName = "po";
- workflowParameterBinding2.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activityBind2)));
- activityBind3.Name = "SupplierWorkflow";
- activityBind3.Path = "contextShipper3";
- workflowParameterBinding3.ParameterName = "context";
- workflowParameterBinding3.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activityBind3)));
- activityBind4.Name = "SupplierWorkflow";
- activityBind4.Path = "ackShipper3";
- workflowParameterBinding4.ParameterName = "(ReturnValue)";
- workflowParameterBinding4.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activityBind4)));
- RequestQuoteFromShipper3.ParameterBindings.Add(workflowParameterBinding2);
- RequestQuoteFromShipper3.ParameterBindings.Add(workflowParameterBinding3);
- RequestQuoteFromShipper3.ParameterBindings.Add(workflowParameterBinding4);
- //
- }
- void Container1()
- {
- //SendActivity.ServiceOperationInfo
- //
- SendActivity RequestQuoteFromShipper3 = new SendActivity();
- TypedOperationInfo typedOperationInfo2 = new TypedOperationInfo();
- typedOperationInfo2.ContractType = typeof(IShippingRequest);
- typedOperationInfo2.Name = "RequestShippingQuote";
- RequestQuoteFromShipper3.ServiceOperationInfo = typedOperationInfo2;
- //
- }
- interface IShippingRequest { }
- //SendActivity.AfterResponse
- //
- [System.Diagnostics.DebuggerNonUserCode]
- private void InitializeComponent()
- {
- SendActivity sendActivity1 = new SendActivity();
- sendActivity1.AfterResponse += new EventHandler(sendActivity1_AfterResponse);
- }
-
- void sendActivity1_AfterResponse(object sender, SendActivityEventArgs e)
- {
- Console.WriteLine("SendActivity1 AfterResponse event fired.");
- }
-
- //
- }
- class Snippets2
- {
-
- //SendActivity.BeforeSend
- //
- [System.Diagnostics.DebuggerNonUserCode]
- private void InitializeComponent()
- {
- SendActivity sendActivity1 = new SendActivity();
- sendActivity1.BeforeSend += new EventHandler(sendActivity1_BeforeSend);
- }
-
- void sendActivity1_BeforeSend(object sender, SendActivityEventArgs e)
- {
- Console.WriteLine("SendActivity1 BeforeSend event fired.");
- }
-
- void sendActivity1_AfterResponse(object sender, SendActivityEventArgs e)
- {
- Console.WriteLine("SendActivity1 AfterResponse event fired.");
- }
- //
-
- void Container6()
- {
- //SendActivity.ReturnValuePropertyName
- //
- string retValName = SendActivity.ReturnValuePropertyName;
- //
- }
- void Container7()
- {
- //SendActivity.ChannelToken
- //
- ChannelToken channelToken1 = new ChannelToken();
- SendActivity requestQuoteFromShipper3 = new SendActivity();
- channelToken1.EndpointName = "Shipper3Endpoint";
- channelToken1.Name = "Shipper3Endpoint";
- channelToken1.OwnerActivityName = "GetShippingQuotes";
- requestQuoteFromShipper3.ChannelToken = channelToken1;
- //
- }
-
- //SendActivity.Context
- //
- static public void ApplyContext(SendActivity activity, IDictionary context)
- {
- if (activity.ExecutionStatus == ActivityExecutionStatus.Initialized)
- {
- activity.Context = context;
- }
- }
- //
-
- //SendActivity.CustomAddress
- static string contextHeaderName = "";
- static string contextHeaderNamespace = "";
-
- //
- static public void ApplyEndpointAddress(SendActivity activity, EndpointAddress epr)
- {
- if (activity.ExecutionStatus == ActivityExecutionStatus.Initialized)
- {
- if (epr.Uri != null)
- {
- activity.CustomAddress = epr.Uri.ToString();
- }
- if (epr.Headers != null && epr.Headers.Count > 0)
- {
- AddressHeader contextHeader = epr.Headers.FindHeader(contextHeaderName, contextHeaderNamespace);
- IDictionary context = contextHeader.GetValue>();
- activity.Context = context;
- }
- }
- }
- //
-
- void Container10()
- {
- //SendActivity.GetContext()
- //
-
- //
- }
- void Container12()
- {
- //SendActivity.GetContext(Activity, ChannelToken, Type)
- Type contractType = typeof(string);
- //
- SendActivity sendActivity1 = new SendActivity();
- ChannelToken channelToken1 = new ChannelToken();
- sendActivity1.ChannelToken = channelToken1;
- Dictionary Context = (Dictionary)SendActivity.GetContext(sendActivity1, channelToken1, contractType);
- //
- }
-
- void Container15()
- {
- //SendActivity.GetContext(Activity, string, string, Type)
- Type contractType = typeof(string);
- string endpointName = "";
- string ownerActivityName = "";
- //
- SendActivity sendActivity1 = new SendActivity();
- Dictionary Context = (Dictionary)SendActivity.GetContext(sendActivity1, endpointName, ownerActivityName, contractType);
- //
- }
- void Container16()
- {
- //SendActivity.SendActivity()
- //
- SendActivity RequestQuoteFromShipper3;
- RequestQuoteFromShipper3 = new System.Workflow.Activities.SendActivity();
- //
- }
- void Container17()
- {
- //SendActivity.SendActivity(string)
- //
- SendActivity RequestQuoteFromShipper3;
- RequestQuoteFromShipper3 = new System.Workflow.Activities.SendActivity("RequestQuoteFromShipper3");
- //
- }
- }
-}
diff --git a/snippets/csharp/VS_Snippets_CFX/sqlpersistenceproviderfactory/cs/sqlpersistenceproviderfactory.csproj b/snippets/csharp/VS_Snippets_CFX/sqlpersistenceproviderfactory/cs/sqlpersistenceproviderfactory.csproj
deleted file mode 100644
index 5050c0ec713..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/sqlpersistenceproviderfactory/cs/sqlpersistenceproviderfactory.csproj
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 9.0.20709
- 2.0
- {168A98F9-FBB3-465E-B5B0-F6522349F1F4}
- Library
- Properties
- SqlPersistenceProviderFactory
- SqlPersistenceProviderFactory
- v3.5
- 512
-
-
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
-
-
-
-
-
- 3.0
-
-
- 3.5
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/consolewritelineactivity.designer.cs b/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/consolewritelineactivity.designer.cs
deleted file mode 100644
index bfcc17bb2d9..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/consolewritelineactivity.designer.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-using System;
-using System.ComponentModel;
-using System.ComponentModel.Design;
-using System.Collections;
-using System.Drawing;
-using System.Reflection;
-using System.Workflow.ComponentModel;
-using System.Workflow.ComponentModel.Design;
-using System.Workflow.ComponentModel.Compiler;
-using System.Workflow.ComponentModel.Serialization;
-using System.Workflow.Runtime;
-using System.Workflow.Activities;
-using System.Workflow.Activities.Rules;
-
-namespace wf_activities_project
-{
- public partial class ConsoleWriteLineActivity
- {
- #region Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- [System.Diagnostics.DebuggerNonUserCode]
- private void InitializeComponent()
- {
- //
- // ConsoleWriteLineActivity
- //
- this.Name = "ConsoleWriteLineActivity";
-
- }
-
- #endregion
- }
-}
diff --git a/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/program.cs b/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/program.cs
deleted file mode 100644
index af7cd96179d..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/program.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading;
-using System.Workflow.Runtime;
-using System.Workflow.Runtime.Hosting;
-
-namespace wf_activities_project
-{
- class Program
- {
- static void Main(string[] args)
- {
- using(WorkflowRuntime workflowRuntime = new WorkflowRuntime())
- {
- AutoResetEvent waitHandle = new AutoResetEvent(false);
- workflowRuntime.WorkflowCompleted += delegate(object sender, WorkflowCompletedEventArgs e) {waitHandle.Set();};
- workflowRuntime.WorkflowTerminated += delegate(object sender, WorkflowTerminatedEventArgs e)
- {
- Console.WriteLine(e.Exception.Message);
- waitHandle.Set();
- };
-
- WorkflowInstance instance = workflowRuntime.CreateWorkflow(typeof(wf_activities_project.Workflow1));
- instance.Start();
-
- waitHandle.WaitOne();
- }
- }
- }
-}
diff --git a/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/properties/assemblyinfo.cs b/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/properties/assemblyinfo.cs
deleted file mode 100644
index 678c5a38323..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/properties/assemblyinfo.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("wf_activities_project")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Microsoft")]
-[assembly: AssemblyProduct("wf_activities_project")]
-[assembly: AssemblyCopyright("Copyright © Microsoft 2008")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Revision and Build Numbers
-// by using '*'.
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: ComVisible(false)]
-
-
-//NOTE: When updating the namespaces in the project please add new or update existing the XmlnsDefinitionAttribute
-//You can add additional attributes in order to map any additional namespaces you have in the project
-//[assembly: System.Workflow.ComponentModel.Serialization.XmlnsDefinition("http://schemas.com/wf_activities_project", "wf_activities_project")]
diff --git a/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/properties/settings.cs b/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/properties/settings.cs
deleted file mode 100644
index e27d5a3c466..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/properties/settings.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:2.0.50727.1433
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace wf_activities_project.Properties
-{
-
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
- {
-
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default
- {
- get
- {
- return defaultInstance;
- }
- }
- }
-}
diff --git a/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/properties/settings.settings b/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/properties/settings.settings
deleted file mode 100644
index 39645652af6..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/properties/settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/wf_activities_project.csproj b/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/wf_activities_project.csproj
deleted file mode 100644
index a3bd9b06181..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/wf_activities_project.csproj
+++ /dev/null
@@ -1,88 +0,0 @@
-
-
- Debug
- 9.0.21022
- 2.0
- {CD48EB18-5BA9-45A1-8C1A-EBC21A352FAF}
- Exe
- wf_activities_project
- wf_activities_project
- {14822709-B5A1-4724-98CA-57A101D1B079};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- 4
- v3.5
-
-
- true
- full
- false
- .\bin\Debug\
- DEBUG;TRACE
- false
-
-
- false
- true
- .\bin\Release\
- TRACE
- false
-
-
-
- 3.0
-
-
- 3.0
-
-
- 3.0
-
-
-
-
-
-
-
-
-
-
-
- 3.5
-
-
- 3.5
-
-
- 3.5
-
-
- 3.0
-
-
-
-
- Component
-
-
- ConsoleWriteLineActivity.cs
-
-
-
-
- SettingsSingleFileGenerator
- Settings.cs
-
-
- Component
-
-
- Workflow1.cs
-
-
- True
- Settings.settings
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/workflow1.cs b/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/workflow1.cs
deleted file mode 100644
index ef92a30205f..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/workflow1.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-using System;
-using System.ComponentModel;
-using System.ComponentModel.Design;
-using System.Collections;
-using System.Drawing;
-using System.Linq;
-using System.Workflow.ComponentModel.Compiler;
-using System.Workflow.ComponentModel.Serialization;
-using System.Workflow.ComponentModel;
-using System.Workflow.ComponentModel.Design;
-using System.Workflow.Runtime;
-using System.Workflow.Activities;
-using System.Workflow.Activities.Rules;
-
-namespace wf_activities_project
-{
- public sealed partial class Workflow1: SequentialWorkflowActivity
- {
- public Workflow1()
- {
- InitializeComponent();
- }
- }
-}
diff --git a/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/workflow1.designer.cs b/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/workflow1.designer.cs
deleted file mode 100644
index 5aedd7dc7e8..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/wf_activities_project/cs/workflow1.designer.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-using System;
-using System.ComponentModel;
-using System.ComponentModel.Design;
-using System.Collections;
-using System.Drawing;
-using System.Reflection;
-using System.Workflow.ComponentModel.Compiler;
-using System.Workflow.ComponentModel.Serialization;
-using System.Workflow.ComponentModel;
-using System.Workflow.ComponentModel.Design;
-using System.Workflow.Runtime;
-using System.Workflow.Activities;
-using System.Workflow.Activities.Rules;
-
-namespace wf_activities_project
-{
- partial class Workflow1
- {
- #region Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- [System.Diagnostics.DebuggerNonUserCode]
- private void InitializeComponent()
- {
- this.CanModifyActivities = true;
- //
- // Workflow1
- //
- this.Name = "Workflow1";
- this.CanModifyActivities = false;
-
- }
-
- #endregion
-
-
-
-
- }
-}
diff --git a/snippets/csharp/VS_Snippets_CFX/workflowserviceattributes/cs/snippets.cs b/snippets/csharp/VS_Snippets_CFX/workflowserviceattributes/cs/snippets.cs
deleted file mode 100644
index eac65dad67b..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/workflowserviceattributes/cs/snippets.cs
+++ /dev/null
@@ -1,90 +0,0 @@
-using System;
-using System.Workflow.Activities;
-using System.ServiceModel;
-
-namespace WorkflowServiceAttributesSnippets
-{
- class snippets
- {
- void Container0()
- {
- //WorkflowServiceAttributes.WorkflowServiceAttributes
- //
- WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();
- //
- }
- void Container1()
- {
- //WorkflowServiceAttributes.AddressFilterMode
- //
- WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();
- attributes.AddressFilterMode = AddressFilterMode.Exact;
- //
- }
- void Container2()
- {
- //WorkflowServiceAttributes.ConfigurationName
- //
- WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();
- attributes.ConfigurationName = "CalculatorService";
- //
- }
- void Container3()
- {
- //WorkflowServiceAttributes.IgnoreExtensionDataObject
- //
- WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();
- attributes.IgnoreExtensionDataObject = true;
-
- //
- }
- void Container4()
- {
- //WorkflowServiceAttributes.IncludeExceptionDetailInFaults
- //
- WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();
- attributes.IncludeExceptionDetailInFaults = true;
- //
- }
- void Container5()
- {
- //WorkflowServiceAttributes.MaxItemsInObjectGraph
- //
- WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();
- attributes.MaxItemsInObjectGraph = 10;
- //
- }
- void Container6()
- {
- //WorkflowServiceAttributes.Name
- //
- WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();
- attributes.Name = "CalculatorService";
- //
- }
- void Container7()
- {
- //WorkflowServiceAttributes.Namespace
- //
- WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();
- attributes.Namespace = "Microsoft.Samples.WorkflowServices.SampleCode";
- //
- }
- void Container8()
- {
- //WorkflowServiceAttributes.UseSynchronizationContext
- //
- WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();
- attributes.UseSynchronizationContext = false;
- //
- }
- void Container9()
- {
- //WorkflowServiceAttributes.ValidateMustUnderstand
- //
- WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();
- attributes.ValidateMustUnderstand = false;
- //
- }
- }
-}
diff --git a/snippets/csharp/VS_Snippets_CFX/workflowserviceattributes/cs/workflowserviceattributes.csproj b/snippets/csharp/VS_Snippets_CFX/workflowserviceattributes/cs/workflowserviceattributes.csproj
deleted file mode 100644
index 69657833dfb..00000000000
--- a/snippets/csharp/VS_Snippets_CFX/workflowserviceattributes/cs/workflowserviceattributes.csproj
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 9.0.20709
- 2.0
- {CB738A13-FA4D-4D5E-89B0-1EC187E9CC48}
- Library
- Properties
- WorkflowServiceAttributes
- WorkflowServiceAttributes
- v3.5
- 512
-
-
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
-
-
-
-
-
-
-
-
- 3.0
-
-
- 3.0
-
-
- 3.0
-
-
- 3.5
-
-
-
-
\ No newline at end of file
diff --git a/snippets/visualbasic/VS_Snippets_CFX/channelmanagerservice/vb/channelmanagerservice.vbproj b/snippets/visualbasic/VS_Snippets_CFX/channelmanagerservice/vb/channelmanagerservice.vbproj
deleted file mode 100644
index f9dfac6ee8e..00000000000
--- a/snippets/visualbasic/VS_Snippets_CFX/channelmanagerservice/vb/channelmanagerservice.vbproj
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 9.0.30729
- 2.0
- {36F8DD32-5B7C-4BB4-A627-87B22AE41939}
- Library
-
-
- ChannelManagerService
- v3.5
- On
- Binary
- On
- On
- 512
-
-
-
-
- true
- full
- false
- bin\Debug\
- true
- true
- prompt
- 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036
-
-
- pdbonly
- true
- bin\Release\
- false
- true
- prompt
- 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036
-
-
-
-
-
-
-
-
-
-
- 3.0
-
-
- 3.0
-
-
- 3.5
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/visualbasic/VS_Snippets_CFX/freeformactivitydesigner/vb/freeformactivitydesigner.vbproj b/snippets/visualbasic/VS_Snippets_CFX/freeformactivitydesigner/vb/freeformactivitydesigner.vbproj
deleted file mode 100644
index c4447f36f8c..00000000000
--- a/snippets/visualbasic/VS_Snippets_CFX/freeformactivitydesigner/vb/freeformactivitydesigner.vbproj
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 9.0.21022
- 2.0
- {EB69770D-3997-46A1-80DB-7F706D3E23FF}
- Library
- FreeformActivityDesigner
- FreeformActivityDesigner
- 512
- Empty
- v3.5
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
- On
- Binary
- Off
- On
-
-
-
-
- true
- full
- true
- true
- bin\Debug\
-
-
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
-
-
- pdbonly
- false
- true
- true
- bin\Release\
-
-
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
-
-
-
-
-
-
-
-
-
-
-
-
- 3.0
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationinfo/vb/operationinfo.vbproj b/snippets/visualbasic/VS_Snippets_CFX/operationinfo/vb/operationinfo.vbproj
deleted file mode 100644
index 3d09a308cc1..00000000000
--- a/snippets/visualbasic/VS_Snippets_CFX/operationinfo/vb/operationinfo.vbproj
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 9.0.30729
- 2.0
- {A925D8FF-60B3-4C31-A368-90A3ADDDB008}
- Library
-
-
- OperationInfo
- v3.5
- On
- Binary
- On
- On
- 512
-
-
-
-
- true
- full
- false
- bin\Debug\
- true
- true
- prompt
- 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036
-
-
- pdbonly
- true
- bin\Release\
- false
- true
- prompt
- 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036
-
-
-
-
-
-
-
-
-
-
- 3.0
-
-
- 3.0
-
-
- 3.5
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationinfo/vb/operationinfosnippets.vb b/snippets/visualbasic/VS_Snippets_CFX/operationinfo/vb/operationinfosnippets.vb
deleted file mode 100644
index b1a061a41c0..00000000000
--- a/snippets/visualbasic/VS_Snippets_CFX/operationinfo/vb/operationinfosnippets.vb
+++ /dev/null
@@ -1,94 +0,0 @@
-Imports System.Collections.Generic
-Imports System.Text
-Imports System.Workflow.Activities
-
-Namespace OperationInfoSnippets
- Friend Class OperationInfoSnippets
- Private Sub container0()
- ' OperationInfo.OperationInfo().
- '
- Dim info As New OperationInfo()
- '
- End Sub
-
- Private Sub container1()
- ' OperationInfo.ContractName.
- '
- Dim info As New OperationInfo()
- info.ContractName = "Contract1"
- '
- End Sub
- Private Sub container2()
- ' OperationInfo.HasProtectionLevel.
- '
- Dim info As New OperationInfo()
- Dim hasProtectionLevel = info.HasProtectionLevel
- '
- End Sub
- Private Sub container3()
- ' OperationInfo.IsOneWay.
- '
- Dim info As New OperationInfo()
- Dim isOneWay = info.IsOneWay
- '
- End Sub
- Private Sub container4()
- ' OperationInfo.Parameters.
- '
- Dim receive As New ReceiveActivity()
- Dim info As New OperationInfo()
- info.Name = "Echo"
- Dim parameterInfo As New OperationParameterInfo()
- parameterInfo.Attributes = (CType((System.Reflection.ParameterAttributes.Out Or System.Reflection.ParameterAttributes.Retval), _
- System.Reflection.ParameterAttributes))
- parameterInfo.Name = "(ReturnValue)"
- parameterInfo.ParameterType = GetType(String)
- parameterInfo.Position = -1
- info.Parameters.Add(parameterInfo)
- receive.ServiceOperationInfo = info
- '
- End Sub
- Private Sub container5()
- ' OperationInfo.ProtectionLevel.
- '
- Dim info As New OperationInfo()
- info.ProtectionLevel = System.Net.Security.ProtectionLevel.EncryptAndSign
- '
- End Sub
- Private Sub container6()
- ' OperationInfo.Clone.
- '
- Dim info1 As New OperationInfo()
- Dim info2 As OperationInfo = CType(info1.Clone(), OperationInfo)
- '
- End Sub
- Private Function container7() As Boolean
- ' OperationInfo.Equals.
- '
- Dim info1 As New OperationInfo()
- info1.Name = "ProcessData"
- Dim info2 As New OperationInfo()
- info2.Name = "ProcessData"
- Return info1.Equals(info2)
- '
- End Function
- Private Sub container8()
- ' OperationInfo.GetHashCode.
- '
- Dim info As New OperationInfo()
- info.Name = "ProcessData"
- Dim code = info.GetHashCode()
- '
- End Sub
- Private Sub container9()
- ' OperationInfo.ToString.
- '
- Dim info As New OperationInfo()
- Dim infoString = info.ToString()
- '
- End Sub
-
-
-
- End Class
-End Namespace
diff --git a/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/consolewritelineactivity.designer.vb b/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/consolewritelineactivity.designer.vb
deleted file mode 100644
index 427c16cd56e..00000000000
--- a/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/consolewritelineactivity.designer.vb
+++ /dev/null
@@ -1,17 +0,0 @@
- _
-Partial class ConsoleWriteLineActivity
-
- 'NOTE: The following procedure is required by the Workflow Designer
- 'It can be modified using the Workflow Designer.
- 'Do not modify it using the code editor.
- _
- Private Sub InitializeComponent()
- '
- 'ConsoleWriteLineActivity
- '
- Me.Name = "ConsoleWriteLineActivity"
-
- End Sub
-
-End Class
-
diff --git a/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/module1.vb
deleted file mode 100644
index 85fe3d03d87..00000000000
--- a/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/module1.vb
+++ /dev/null
@@ -1,29 +0,0 @@
-Module Module1
- Class Program
-
- Shared WaitHandle As New AutoResetEvent(False)
-
- Shared Sub Main()
- Using workflowRuntime As New WorkflowRuntime()
- AddHandler workflowRuntime.WorkflowCompleted, AddressOf OnWorkflowCompleted
- AddHandler workflowRuntime.WorkflowTerminated, AddressOf OnWorkflowTerminated
-
- Dim workflowInstance As WorkflowInstance
- workflowInstance = workflowRuntime.CreateWorkflow(GetType(Workflow1))
- workflowInstance.Start()
- WaitHandle.WaitOne()
- End Using
- End Sub
-
- Shared Sub OnWorkflowCompleted(ByVal sender As Object, ByVal e As WorkflowCompletedEventArgs)
- WaitHandle.Set()
- End Sub
-
- Shared Sub OnWorkflowTerminated(ByVal sender As Object, ByVal e As WorkflowTerminatedEventArgs)
- Console.WriteLine(e.Exception.Message)
- WaitHandle.Set()
- End Sub
-
- End Class
-End Module
-
diff --git a/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/my project/assemblyinfo.vb b/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/my project/assemblyinfo.vb
deleted file mode 100644
index c01d54f48c8..00000000000
--- a/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/my project/assemblyinfo.vb
+++ /dev/null
@@ -1,37 +0,0 @@
-Imports System.Reflection
-Imports System.Runtime.InteropServices
-
-' General Information about an assembly is controlled through the following
-' set of attributes. Change these attribute values to modify the information
-' associated with an assembly.
-
-' Review the values of the assembly attributes
-
-
-
-
-
-
-
-
-
-
-'The following GUID is for the ID of the typelib if this project is exposed to COM
-
-
-' Version information for an assembly consists of the following four values:
-'
-' Major Version
-' Minor Version
-' Build Number
-' Revision
-'
-' You can specify all the values or you can default the Build and Revision Numbers
-' by using '*'.
-
-
-
-
-'NOTE: When updating the namespaces in the project please add new or update existing the XmlnsDefinitionAttribute
-'You can add additional attributes in order to map any additional namespaces you have in the project
-'
diff --git a/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/my project/mysettings.settings b/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/my project/mysettings.settings
deleted file mode 100644
index 85b890b3c66..00000000000
--- a/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/my project/mysettings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/my project/mysettings.vb b/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/my project/mysettings.vb
deleted file mode 100644
index 120b4842085..00000000000
--- a/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/my project/mysettings.vb
+++ /dev/null
@@ -1,28 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' This code was generated by a tool.
-' Runtime Version:2.0.50727.1433
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-
- _
-Partial Friend NotInheritable Class MySettings
- Inherits Global.System.Configuration.ApplicationSettingsBase
-
- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings)
-
- Public Shared ReadOnly Property [Default]() As MySettings
- Get
- Return defaultInstance
- End Get
- End Property
-End Class
diff --git a/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/wf_activities_project_vb.vbproj b/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/wf_activities_project_vb.vbproj
deleted file mode 100644
index 5b2ba2640de..00000000000
--- a/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/wf_activities_project_vb.vbproj
+++ /dev/null
@@ -1,179 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 9.0.21022
- 2.0
- {FDBFEE13-5B88-42E3-8380-CD55A275F926}
- {D59BE175-2ED0-4C54-BE3D-CDAA9F3214C8};{F184B08F-C81C-45F6-A57F-5ABD9991F28F}
- Exe
-
-
- wf_activities_project_vb
- wf_activities_project_vb
- v3.5
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
- On
- Binary
- Off
- On
-
-
- true
- full
- true
- true
- true
- bin\
- _MyType="Windows"
- wf_activities_project_vb.xml
- false
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
-
-
- false
- false
- true
- false
- true
- bin\
- _MyType="Windows"
- wf_activities_project_vb.xml
- false
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
-
-
-
- System
- True
-
-
- System.Data
- True
-
-
- System.Transactions
- True
-
-
- System.Xml
- True
-
-
- System.Workflow.Activities
- 3.0
- True
-
-
- System.Workflow.ComponentModel
- 3.0
- True
-
-
- System.Workflow.Runtime
- 3.0
- True
-
-
- System.Design
- True
-
-
- System.Drawing
- True
-
-
- System.Drawing.Design
- True
-
-
- System.Windows.Forms
-
-
- mscorlib
-
-
- System.Web
- True
-
-
- System.Web.Services
- True
-
-
- 3.5
-
-
- 3.5
-
-
- 3.5
-
-
- 3.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ConsoleWriteLineActivity.vb
-
-
- Component
-
-
-
- Component
-
-
- Workflow1.vb
-
-
-
- True
- MySettings.settings
- Code
-
-
-
-
- SettingsSingleFileGenerator
- MySettings.vb
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/workflow1.designer.vb b/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/workflow1.designer.vb
deleted file mode 100644
index 3ef28776a75..00000000000
--- a/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/workflow1.designer.vb
+++ /dev/null
@@ -1,18 +0,0 @@
- _
-Partial class Workflow1
-
- 'NOTE: The following procedure is required by the Workflow Designer
- 'It can be modified using the Workflow Designer.
- 'Do not modify it using the code editor.
- _
- Private Sub InitializeComponent()
- Me.CanModifyActivities = True
- '
- 'Workflow1
- '
- Me.Name = "Workflow1"
- Me.CanModifyActivities = False
-
- End Sub
-
-End Class
diff --git a/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/workflow1.vb b/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/workflow1.vb
deleted file mode 100644
index e73422dfed1..00000000000
--- a/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/workflow1.vb
+++ /dev/null
@@ -1,3 +0,0 @@
-Public class Workflow1
- Inherits SequentialWorkflowActivity
-End Class
diff --git a/snippets/visualbasic/VS_Snippets_CFX/workflowserviceattributes/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/workflowserviceattributes/vb/snippets.vb
deleted file mode 100644
index 8cddc319a7d..00000000000
--- a/snippets/visualbasic/VS_Snippets_CFX/workflowserviceattributes/vb/snippets.vb
+++ /dev/null
@@ -1,77 +0,0 @@
-Imports System.Workflow.Activities
-Imports System.ServiceModel
-
-Namespace WorkflowServiceAttributesSnippets
- Friend Class snippets
- Private Sub Container0()
- 'WorkflowServiceAttributes.WorkflowServiceAttributes
- '
- Dim attributes As New WorkflowServiceAttributes()
- '
- End Sub
- Private Sub Container1()
- 'WorkflowServiceAttributes.AddressFilterMode
- '
- Dim attributes As New WorkflowServiceAttributes()
- attributes.AddressFilterMode = AddressFilterMode.Exact
- '
- End Sub
- Private Sub Container2()
- 'WorkflowServiceAttributes.ConfigurationName
- '
- Dim attributes As New WorkflowServiceAttributes()
- attributes.ConfigurationName = "CalculatorService"
- '
- End Sub
- Private Sub Container3()
- 'WorkflowServiceAttributes.IgnoreExtensionDataObject
- '
- Dim attributes As New WorkflowServiceAttributes()
- attributes.IgnoreExtensionDataObject = True
- '
- End Sub
- Private Sub Container4()
- 'WorkflowServiceAttributes.IncludeExceptionDetailInFaults
- '
- Dim attributes As New WorkflowServiceAttributes()
- attributes.IncludeExceptionDetailInFaults = True
- '
- End Sub
- Private Sub Container5()
- 'WorkflowServiceAttributes.MaxItemsInObjectGraph
- '
- Dim attributes As New WorkflowServiceAttributes()
- attributes.MaxItemsInObjectGraph = 10
- '
- End Sub
- Private Sub Container6()
- 'WorkflowServiceAttributes.Name
- '
- Dim attributes As New WorkflowServiceAttributes()
- attributes.Name = "CalculatorService"
- '
- End Sub
- Private Sub Container7()
- 'WorkflowServiceAttributes.Namespace
- '
- Dim attributes As New WorkflowServiceAttributes()
- attributes.Namespace = "Microsoft.Samples.WorkflowServices.SampleCode"
- '
- End Sub
- Private Sub Container8()
- 'WorkflowServiceAttributes.UseSynchronizationContext
- '
- Dim attributes As New WorkflowServiceAttributes()
- attributes.UseSynchronizationContext = False
- '
- End Sub
- Private Sub Container9()
- 'WorkflowServiceAttributes.ValidateMustUnderstand
- '
- Dim attributes As New WorkflowServiceAttributes()
- attributes.ValidateMustUnderstand = False
- '
- End Sub
-
- End Class
-End Namespace
diff --git a/snippets/visualbasic/VS_Snippets_CFX/workflowserviceattributes/vb/workflowserviceattributes.vbproj b/snippets/visualbasic/VS_Snippets_CFX/workflowserviceattributes/vb/workflowserviceattributes.vbproj
deleted file mode 100644
index 23752bd24c9..00000000000
--- a/snippets/visualbasic/VS_Snippets_CFX/workflowserviceattributes/vb/workflowserviceattributes.vbproj
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 9.0.21022
- 2.0
- {CB738A13-FA4D-4D5E-89B0-1EC187E9CC48}
- Library
-
-
- WorkflowServiceAttributes
- v3.5
- On
- Binary
- On
- On
- 512
-
-
-
-
- true
- full
- false
- bin\Debug\
- true
- true
- prompt
- 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036
-
-
- pdbonly
- true
- bin\Release\
- false
- true
- prompt
- 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036
-
-
-
-
-
-
-
-
-
-
- 3.0
-
-
- 3.0
-
-
- 3.0
-
-
- 3.5
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/xml/Microsoft.VisualBasic.FileIO/TextFieldParser.xml b/xml/Microsoft.VisualBasic.FileIO/TextFieldParser.xml
index d48c6c5cdc9..558b314f45b 100644
--- a/xml/Microsoft.VisualBasic.FileIO/TextFieldParser.xml
+++ b/xml/Microsoft.VisualBasic.FileIO/TextFieldParser.xml
@@ -1355,7 +1355,7 @@
The type of the values in the dictionary.
The alternate type of a key for performing lookups.
- Provides a type that may be used to perform operations on a
- using a as a key instead of a .
+ Provides a type that may be used to perform operations on a using a as a key instead of a .
To be added.
@@ -129,8 +128,7 @@
The alternate key of the value to get or set.
Gets or sets the value associated with the specified alternate key.
- The value associated with the specified alternate key. If the specified alternate key is not found, a get operation throws
- a , and a set operation creates a new element with the specified key.
+ The value associated with the specified alternate key. If the specified alternate key is not found, a get operation throws a , and a set operation creates a new element with the specified key.
To be added.
@@ -198,10 +196,7 @@
The alternate key of the value to get.
-
- When this method returns, contains the value associated with the specified key, if the key is found;
- otherwise, the default value for the type of the value parameter.
-
+ When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter.
Gets the value associated with the specified alternate key.
if an entry was found; otherwise, .
@@ -248,12 +243,11 @@
The alternate key of the value to get.
- When this method returns, contains the actual key associated with the alternate key, if the key is found;
- otherwise, the default value for the type of the key parameter.
+ When this method returns, contains the actual key associated with the alternate key, if the key is found;
+ otherwise, the default value for the type of the key parameter.
- When this method returns, contains the value associated with the specified key, if the key is found;
- otherwise, the default value for the type of the value parameter.
+ When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter.
Gets the value associated with the specified alternate key.
@@ -294,8 +288,9 @@
The alternate key of the element to remove.
The removed element.
- Removes the value with the specified alternate key from the ,
- and copies the element to the value parameter.
+ Removes the value with the specified alternate key from the
+ ,
+ and copies the element to the value parameter.
if the element is successfully found and removed; otherwise, .
@@ -344,8 +339,8 @@
The removed key.
The removed element.
- Removes the value with the specified alternate key from the ,
- and copies the associated key and element to the value parameter.
+ Removes the value with the specified alternate key from the ,
+ and copies the associated key and element to the value parameter.
if the element is successfully found and removed; otherwise, .
diff --git a/xml/System.Collections.Concurrent/ConcurrentDictionary`2.xml b/xml/System.Collections.Concurrent/ConcurrentDictionary`2.xml
index 6231bfc8f00..a0c246cd7bf 100644
--- a/xml/System.Collections.Concurrent/ConcurrentDictionary`2.xml
+++ b/xml/System.Collections.Concurrent/ConcurrentDictionary`2.xml
@@ -1011,14 +1011,12 @@
The alternate type of a key for performing lookups.
- Gets an instance of a type that may be used to perform operations on a
- using a as a key instead of a .
+ Gets an instance of a type that may be used to perform operations on a using a as a key instead of a .
The created lookup instance.
- This instance must be using a comparer that implements with
-
- and . If it doesn't, an exception will be thrown.
+ This instance must be using a comparer that implements with
+ and . If it doesn't, an exception will be thrown.
This instance's comparer is not compatible with .
diff --git a/xml/System.Collections.Frozen/FrozenDictionary`2+AlternateLookup`1.xml b/xml/System.Collections.Frozen/FrozenDictionary`2+AlternateLookup`1.xml
index b6440ff7c77..b759e02c974 100644
--- a/xml/System.Collections.Frozen/FrozenDictionary`2+AlternateLookup`1.xml
+++ b/xml/System.Collections.Frozen/FrozenDictionary`2+AlternateLookup`1.xml
@@ -45,8 +45,10 @@
The type of the values in the dictionary.
The alternate type of a key for performing lookups.
- Provides a type that may be used to perform operations on a
- using a as a key instead of a .
+ Provides a type that may be used to perform operations on a
+
+ using a as a key
+ instead of a .
To be added.
@@ -125,8 +127,7 @@
The alternate key of the value to get or set.
Gets or sets the value associated with the specified alternate key.
- The value associated with the specified alternate key. If the specified alternate key is not found, a get operation throws
- a , and a set operation creates a new element with the specified key.
+ The value associated with the specified alternate key. If the specified alternate key is not found, a get operation throws a , and a set operation creates a new element with the specified key.
To be added.
@@ -164,8 +165,8 @@
The alternate key of the value to get.
- When this method returns, contains the value associated with the specified key, if the key is found;
- otherwise, the default value for the type of the value parameter.
+ When this method returns, contains the value associated with the specified key, if the key is found;
+ otherwise, the default value for the type of the value parameter.
Gets the value associated with the specified alternate key.
diff --git a/xml/System.Collections.Frozen/FrozenDictionary`2.xml b/xml/System.Collections.Frozen/FrozenDictionary`2.xml
index b40da7014bc..a7ecdd74787 100644
--- a/xml/System.Collections.Frozen/FrozenDictionary`2.xml
+++ b/xml/System.Collections.Frozen/FrozenDictionary`2.xml
@@ -291,14 +291,14 @@
The alternate type of a key for performing lookups.
- Gets an instance of a type that may be used to perform operations on a
- using a as a key instead of a .
+ Gets an instance of a type that may be used to perform operations on a using a as a key instead of a .
The created lookup instance.
- This instance must be using a comparer that implements with
-
- and . If it doesn't, an exception will be thrown.
+ This instance must be using a comparer that implements
+
+ with and .
+ If it doesn't, an exception will be thrown.
This instance's comparer is not compatible with .
diff --git a/xml/System.Collections.Frozen/FrozenSet`1+AlternateLookup`1.xml b/xml/System.Collections.Frozen/FrozenSet`1+AlternateLookup`1.xml
index 1626b56d2a6..78c1da10a2d 100644
--- a/xml/System.Collections.Frozen/FrozenSet`1+AlternateLookup`1.xml
+++ b/xml/System.Collections.Frozen/FrozenSet`1+AlternateLookup`1.xml
@@ -48,10 +48,7 @@
The type of the values in this set.
The alternate type of a key for performing lookups.
-
- Provides a type that may be used to perform operations on a
- using a as a key instead of a .
-
+ Provides a type that may be used to perform operations on a using a as a key instead of a .
To be added.
diff --git a/xml/System.Collections.Frozen/FrozenSet`1.xml b/xml/System.Collections.Frozen/FrozenSet`1.xml
index 4c296f7fed8..21cf901982e 100644
--- a/xml/System.Collections.Frozen/FrozenSet`1.xml
+++ b/xml/System.Collections.Frozen/FrozenSet`1.xml
@@ -280,16 +280,9 @@
The alternate type of a item for performing lookups.
-
- Gets an instance of a type that may be used to perform operations on a
- using a instead of a .
-
+ Gets an instance of a type that may be used to perform operations on a using a instead of a .
The created lookup instance.
-
- This instance must be using a comparer that implements with
-
- and . If it doesn't, an exception will be thrown.
-
+ This instance must be using a comparer that implements with and . If it doesn't, an exception will be thrown.
This instance's comparer is not compatible with .
diff --git a/xml/System.Collections.Generic/OrderedDictionary`2.xml b/xml/System.Collections.Generic/OrderedDictionary`2.xml
index e4fb81a6cb8..2957ab48c17 100644
--- a/xml/System.Collections.Generic/OrderedDictionary`2.xml
+++ b/xml/System.Collections.Generic/OrderedDictionary`2.xml
@@ -78,10 +78,7 @@
The type of the keys in the dictionary.
The type of the values in the dictionary.
Represents a collection of key/value pairs that are accessible by the key or index.
-
- Operations on the collection have algorithmic complexities that are similar to that of the
- class, except with lookups by key similar in complexity to that of .
-
+ Operations on the collection have algorithmic complexities that are similar to that of the class, except with lookups by key similar in complexity to that of .
@@ -98,10 +95,7 @@
-
- Initializes a new instance of the class that is empty,
- has the default initial capacity, and uses the default equality comparer for the key type.
-
+ Initializes a new instance of the class that is empty, has the default initial capacity, and uses the default equality comparer for the key type.
To be added.
@@ -122,14 +116,8 @@
-
- The whose elements are copied to the new .
- The initial order of the elements in the new collection is the order the elements are enumerated from the supplied dictionary.
-
-
- Initializes a new instance of the class that contains elements copied from
- the specified and uses the default equality comparer for the key type.
-
+ The whose elements are copied to the new . The initial order of the elements in the new collection is the order the elements are enumerated from the supplied dictionary.
+ Initializes a new instance of the class that contains elements copied from the specified and uses the default equality comparer for the key type.
To be added.
is .
@@ -159,14 +147,8 @@
-
- The whose elements are copied to the new .
- The initial order of the elements in the new collection is the order the elements are enumerated from the supplied collection.
-
-
- Initializes a new instance of the class that contains elements copied
- from the specified and uses the default equality comparer for the key type.
-
+ The whose elements are copied to the new . The initial order of the elements in the new collection is the order the elements are enumerated from the supplied collection.
+ Initializes a new instance of the class that contains elements copied from the specified and uses the default equality comparer for the key type.
To be added.
is .
@@ -196,14 +178,8 @@
-
- The implementation to use when comparing keys,
- or to use the default for the type of the key.
-
-
- Initializes a new instance of the class that is empty,
- has the default initial capacity, and uses the specified .
-
+ The implementation to use when comparing keys, or to use the default for the type of the key.
+ Initializes a new instance of the class that is empty, has the default initial capacity, and uses the specified .
To be added.
@@ -225,10 +201,7 @@
The initial number of elements that the can contain.
-
- Initializes a new instance of the class that is empty,
- has the specified initial capacity, and uses the default equality comparer for the key type.
-
+ Initializes a new instance of the class that is empty, has the specified initial capacity, and uses the default equality comparer for the key type.
To be added.
capacity is less than 0.
@@ -258,18 +231,9 @@
-
- The whose elements are copied to the new .
- The initial order of the elements in the new collection is the order the elements are enumerated from the supplied dictionary.
-
-
- The implementation to use when comparing keys,
- or to use the default for the type of the key.
-
-
- Initializes a new instance of the class that contains elements copied from
- the specified and uses the specified .
-
+ The whose elements are copied to the new . The initial order of the elements in the new collection is the order the elements are enumerated from the supplied dictionary.
+ The implementation to use when comparing keys, or to use the default for the type of the key.
+ Initializes a new instance of the class that contains elements copied from the specified and uses the specified .
To be added.
is .
@@ -307,18 +271,9 @@
-
- The whose elements are copied to the new .
- The initial order of the elements in the new collection is the order the elements are enumerated from the supplied collection.
-
-
- The implementation to use when comparing keys,
- or to use the default for the type of the key.
-
-
- Initializes a new instance of the class that contains elements copied
- from the specified and uses the specified .
-
+ The whose elements are copied to the new . The initial order of the elements in the new collection is the order the elements are enumerated from the supplied collection.
+ The implementation to use when comparing keys, or to use the default for the type of the key.
+ Initializes a new instance of the class that contains elements copied from the specified and uses the specified .
To be added.
is .
@@ -350,14 +305,8 @@
The initial number of elements that the can contain.
-
- The implementation to use when comparing keys,
- or to use the default for the type of the key.
-
-
- Initializes a new instance of the class that is empty,
- has the specified initial capacity, and uses the specified .
-
+ The implementation to use when comparing keys, or to use the default for the type of the key.
+ Initializes a new instance of the class that is empty, has the specified initial capacity, and uses the specified .
To be added.
capacity is less than 0.
diff --git a/xml/System.Reflection.Metadata/TypeName.xml b/xml/System.Reflection.Metadata/TypeName.xml
index f6a103bcd6d..56d4f04c4c3 100644
--- a/xml/System.Reflection.Metadata/TypeName.xml
+++ b/xml/System.Reflection.Metadata/TypeName.xml
@@ -52,10 +52,7 @@
System.Reflection.Metadata.AssemblyNameInfo
-
- Returns assembly name that contains this type, or if this was not
- created from a fully qualified name.
-
+ Returns assembly name that contains this type, or if this was not created from a fully qualified name.
To be added.
To be added.
@@ -99,10 +96,7 @@
System.Reflection.Metadata.TypeName
-
- If this type is a nested type (see ), gets
- the declaring type. If this type is not a nested type, throws.
-
+ If this type is a nested type (see ), gets the declaring type. If this type is not a nested type, throws.
To be added.
For example, given "Namespace.Declaring+Nested", this property unwraps the outermost type and returns "Namespace.Declaring".
The current type is not a nested type.
@@ -125,21 +119,9 @@
System.String
-
- Gets the full name of this type, including namespace, but without the assembly name; for example, "System.Int32".
- Nested types are represented with a '+'; for example, "MyNamespace.MyType+NestedType".
-
+ Gets the full name of this type, including namespace, but without the assembly name; for example, "System.Int32". Nested types are represented with a '+'; for example, "MyNamespace.MyType+NestedType".
To be added.
-
- For constructed generic types, the type arguments will be listed using their fully qualified
- names. For example, given "List<int>", the property will return
- "System.Collections.Generic.List`1[[System.Int32, mscorlib, ...]]".
- For open generic types, the convention is to use a backtick ("`") followed by
- the arity of the generic type. For example, given "Dictionary<,>", the
- property will return "System.Collections.Generic.Dictionary`2". Given "Dictionary<,>.Enumerator",
- the property will return "System.Collections.Generic.Dictionary`2+Enumerator".
- See ECMA-335, Sec. I.10.7.2 (Type names and arity encoding) for more information.
-
+ For constructed generic types, the type arguments will be listed using their fully qualified names. For example, given "List<int>", the property will return "System.Collections.Generic.List`1[[System.Int32, mscorlib, ...]]". For open generic types, the convention is to use a backtick ("`") followed by the arity of the generic type. For example, given "Dictionary<,>", the property will return "System.Collections.Generic.Dictionary`2". Given "Dictionary<,>.Enumerator", the property will return "System.Collections.Generic.Dictionary`2+Enumerator". See ECMA-335, Sec. I.10.7.2 (Type names and arity encoding) for more information.
@@ -214,15 +196,9 @@
-
- If this represents a constructed generic type, returns an array
- of all the generic arguments. Otherwise it returns an empty array.
-
+ If this represents a constructed generic type, returns an array of all the generic arguments. Otherwise it returns an empty array.
To be added.
-
- For example, given "Dictionary<string, int>", returns a 2-element array containing
- string and int.
-
+ For example, given "Dictionary<string, int>", returns a 2-element array containing string and int.
@@ -267,34 +243,26 @@
-
- Gets the total number of instances that are used to describe
- this instance, including any generic arguments or underlying types.
-
+ Gets the total number of instances that are used to describe this instance, including any generic arguments or underlying types.
To be added.
- This value is computed every time this method gets called, it's not cached.
- There's not really a parallel concept to this in reflection. Think of it
- as the total number of instances that would be created if
- you were to totally deconstruct this instance and visit each intermediate
- that occurs as part of deconstruction.
- "int" and "Person" each have complexities of 1 because they're standalone types.
- "int[]" has a node count of 2 because to fully inspect it involves inspecting the
- array type itself, plus unwrapping the underlying type ("int") and inspecting that.
- "Dictionary<string, List<int[][]>>" has node count 8 because fully visiting it
- involves inspecting 8 instances total:
-
-
- - Dictionary<string, List<int[][]>> (the original type)
- - Dictionary`2 (the generic type definition)
- - string (a type argument of Dictionary)
- - List<int[][]> (a type argument of Dictionary)
- - List`1 (the generic type definition)
- - int[][] (a type argument of List)
- - int[] (the underlying type of int[][])
- - int (the underlying type of int[])
-
-
+ This value is computed every time this method gets called, it's not cached. There's not really a parallel concept to this in reflection.
+ Think of it as the total number of instances that would be created if you were to
+ totally deconstruct this instance and visit each intermediate that occurs as part
+ of deconstruction. "int" and "Person" each have complexities of 1 because they're standalone types. "int[]" has a node count of 2
+ because to fully inspect it involves inspecting the array type itself, plus unwrapping the underlying type ("int") and
+ inspecting that. "Dictionary<string, List<int[][]>>" has node count 8 because fully visiting it involves inspecting 8
+ instances total:
+
+ - Dictionary<string, List<int[][]>> (the original type)
+ - Dictionary`2 (the generic type definition)
+ - string (a type argument of Dictionary)
+ - List<int[][]> (a type argument of Dictionary)
+ - List`1 (the generic type definition)
+ - int[][] (a type argument of List)
+ - int[] (the underlying type of int[][])
+ - int (the underlying type of int[])
+
@@ -315,10 +283,7 @@
System.Boolean
-
- Gets a value that indicates whether this type represents any kind of array, regardless of the array's
- rank or its bounds.
-
+ Gets a value that indicates whether this type represents any kind of array, regardless of the array's rank or its bounds.
To be added.
To be added.
@@ -340,10 +305,7 @@
System.Boolean
-
- Gets a value that indicates whether this is a managed pointer type (for example, "ref int").
- Managed pointer types are sometimes called byref types ().
-
+ Gets a value that indicates whether this is a managed pointer type (for example, "ref int"). Managed pointer types are sometimes called byref types ().
To be added.
To be added.
@@ -397,10 +359,7 @@
System.Boolean
-
- Gets a value that indicates whether this is a nested type (for example, "Namespace.Declaring+Nested").
- For nested types returns their declaring type.
-
+ Gets a value that indicates whether this is a nested type (for example, "Namespace.Declaring+Nested"). For nested types returns their declaring type.
To be added.
To be added.
@@ -422,10 +381,7 @@
System.Boolean
-
- Gets a value that indicates whether this type represents an unmanaged pointer (for example, "int*" or "void*").
- Unmanaged pointer types are often just called pointers ().
-
+ Gets a value that indicates whether this type represents an unmanaged pointer (for example, "int*" or "void*"). Unmanaged pointer types are often just called pointers ().
To be added.
To be added.
@@ -457,18 +413,14 @@
System.Boolean
-
- Gets a value that indicates whether this is a "plain" type; that is, not an array, not a pointer, not a reference, and
- not a constructed generic type. Examples of elemental types are "System.Int32",
- "System.Uri", and "YourNamespace.YourClass".
-
+ Gets a value that indicates whether this is a "plain" type; that is, not an array, not a pointer, not a reference, and not a constructed generic type. Examples of elemental types are "System.Int32", "System.Uri", and "YourNamespace.YourClass".
To be added.
- This property returning doesn't mean that the type is a primitive like string
- or int; it just means that there's no underlying type.
- This property will return for generic type definitions (for example, "Dictionary<,>").
- This is because determining whether a type truly is a generic type requires loading the type
- and performing a runtime check.
+ This property returning doesn't mean that the type is a primitive like string or int; it just means that there's no underlying type.
+
+ This property will return for generic type definitions (for example, "Dictionary<,>"). This is because determining whether a type
+ truly is a generic type requires loading the type and performing a runtime check.
+
@@ -511,10 +463,7 @@
System.Boolean
-
- Gets a value that indicates whether this type represents a variable-bound array; that is, an array of rank greater
- than 1 (for example, "int[,]") or a single-dimensional array that isn't necessarily zero-indexed.
-
+ Gets a value that indicates whether this type represents a variable-bound array; that is, an array of rank greater than 1 (for example, "int[,]") or a single-dimensional array that isn't necessarily zero-indexed.
To be added.
To be added.
@@ -664,10 +613,7 @@
System.String
-
- Gets the name of this type, without the namespace and the assembly name; for example, "Int32".
- Nested types are represented without a '+'; for example, "MyNamespace.MyType+NestedType" is just "NestedType".
-
+ Gets the name of this type, without the namespace and the assembly name; for example, "Int32". Nested types are represented without a '+'; for example, "MyNamespace.MyType+NestedType" is just "NestedType".
To be added.
To be added.
diff --git a/xml/System.Text.Json.Serialization.Metadata/JsonParameterInfo.xml b/xml/System.Text.Json.Serialization.Metadata/JsonParameterInfo.xml
index 87a6b9cb5ac..eeb0d914190 100644
--- a/xml/System.Text.Json.Serialization.Metadata/JsonParameterInfo.xml
+++ b/xml/System.Text.Json.Serialization.Metadata/JsonParameterInfo.xml
@@ -51,8 +51,8 @@
Gets a custom attribute provider for the current parameter.
To be added.
- When resolving metadata via the built-in resolvers this will be populated with
- the underlying of the constructor metadata.
+ When resolving metadata via the built-in resolvers this will be populated with
+ the underlying of the constructor metadata.
@@ -148,8 +148,8 @@
Gets a value indicating whether the parameter represents a required or init-only member initializer.
To be added.
- Only returns for source-generated metadata that can only access
- required or init-only member initializers using object initialize expressions.
+ Only returns for source-generated metadata that can only access
+ required or init-only member initializers using object initialize expressions.
@@ -173,12 +173,14 @@
Gets a value indicating whether the constructor parameter is annotated as nullable.
To be added.
- Contracts originating from or ,
- derive the value of this parameter from nullable reference type annotations, including annotations
- from attributes such as or .
- This property has no effect on deserialization unless the
- property has been enabled, in which case the serializer will reject any deserialization results.
- This setting is in sync with the associated property.
+ Contracts originating from or
+ , derive the value of this parameter from nullable
+ reference type annotations, including annotations from attributes such as
+ or
+ . This property has no effect on deserialization
+ unless the property has been enabled,
+ in which case the serializer will reject any deserialization results. This setting is in sync
+ with the associated property.
diff --git a/xml/System.Text.Json/JsonSerializer.xml b/xml/System.Text.Json/JsonSerializer.xml
index a94a915f4ff..4ee00da7e03 100644
--- a/xml/System.Text.Json/JsonSerializer.xml
+++ b/xml/System.Text.Json/JsonSerializer.xml
@@ -382,15 +382,30 @@ There is remaining data in the string beyond a single JSON value.
Reads one JSON value (including objects or arrays) from the provided reader into an instance specified by the .
A representation of the JSON value.
- If the property of is or , the reader will be advanced by one call to to determine the start of the value.
-
- Upon completion of this method, will be positioned at the final token in the JSON value. If an exception is thrown, the reader is reset to the state it was in when the method was called.
-
- This method makes a copy of the data the reader acted on, so there is no caller requirement to maintain data integrity beyond the return of this method.
-
- The used to create the instance of the take precedence over the when they conflict.
- Hence, , , and are used while reading.
-
+
+ If the property of
+ is
+ or , the reader will be advanced by one
+ call to to determine the start of the value.
+
+
+ Upon completion of this method, will be positioned at the final token
+ in the JSON value. If an exception is thrown, the reader is reset to the state it was in when the
+ method was called.
+
+
+ This method makes a copy of the data the reader acted on, so there is no caller requirement to
+ maintain data integrity beyond the return of this method.
+
+
+ The used to create the instance of the
+ take precedence over the
+ when they conflict.
+ Hence, ,
+ , and
+ are used
+ while reading.
+
The JSON is invalid,
is not compatible with the JSON,
@@ -4011,8 +4026,7 @@ For more information, see [How to serialize and deserialize JSON](/dotnet/standa
or is .
- There is no compatible
- for or its serializable members.
+ There is no compatible for or its serializable members.
@@ -4058,10 +4072,7 @@ For more information, see [How to serialize and deserialize JSON](/dotnet/standa
is not compatible with .
, , or is .
-
- There is no compatible
- for or its serializable members.
-
+ There is no compatible for or its serializable members.
@@ -4260,10 +4271,7 @@ For more information, see [How to serialize and deserialize JSON](/dotnet/standa
To be added.
is .
-
- There is no compatible
- for or its serializable members.
-
+ There is no compatible for or its serializable members.
diff --git a/xml/System.Workflow.Activities.Rules/RuleActionTrackingEvent.xml b/xml/System.Workflow.Activities.Rules/RuleActionTrackingEvent.xml
index 2b06314ed67..9ae45e99be2 100644
--- a/xml/System.Workflow.Activities.Rules/RuleActionTrackingEvent.xml
+++ b/xml/System.Workflow.Activities.Rules/RuleActionTrackingEvent.xml
@@ -26,17 +26,7 @@
Contains the name, instance ID, and condition result of a rule that has been evaluated.
-
- class. This code example is part of the RuleActionTrackingEventSample SDK Sample from the ConsoleTrackingService.cs file. For more information, see [RuleActionTrackingEvent Sample](https://msdn.microsoft.com/library/cea1192f-82e2-4c8a-acc0-5f8ed462de73).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet162":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet162":::
-
- ]]>
-
+ To be added.
@@ -58,17 +48,7 @@
Gets the result of the condition evaluation.
The result of the rule condition: or .
-
- class and print the value of the property to the console upon execution of the rule. This code example is part of the RuleActionTrackingEventSample SDK Sample from the ConsoleTrackingService.cs file. For more information, see [RuleActionTrackingEvent Sample](https://msdn.microsoft.com/library/cea1192f-82e2-4c8a-acc0-5f8ed462de73).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet162":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet162":::
-
- ]]>
-
+ To be added.
@@ -90,17 +70,7 @@
Gets the name of the that caused the to be raised.
The that caused one or more actions to execute.
-
- class and print the value of the property to the console upon execution of the rule. This code example is part of the RuleActionTrackingEventSample SDK Sample from the ConsoleTrackingService.cs file. For more information, see [RuleActionTrackingEvent Sample](https://msdn.microsoft.com/library/cea1192f-82e2-4c8a-acc0-5f8ed462de73).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet162":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet162":::
-
- ]]>
-
+ To be added.
diff --git a/xml/System.Workflow.Activities.Rules/RuleSetReference.xml b/xml/System.Workflow.Activities.Rules/RuleSetReference.xml
index d5415216b26..17fc33a0151 100644
--- a/xml/System.Workflow.Activities.Rules/RuleSetReference.xml
+++ b/xml/System.Workflow.Activities.Rules/RuleSetReference.xml
@@ -46,17 +46,7 @@
Holds the name of a in the on the workflow. This class cannot be inherited.
-
- class and set it to the value of the property. This code example is part of the RuleActionTrackingEventSample SDK Sample from the SimplePolicyWorkflow.designer.cs file. For more information, see [RuleActionTrackingEvent Sample](https://msdn.microsoft.com/library/cea1192f-82e2-4c8a-acc0-5f8ed462de73).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets24.cs" id="Snippet294":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets24.vb" id="Snippet294":::
-
- ]]>
-
+ To be added.
@@ -83,17 +73,7 @@
Initializes a new instance of the class.
-
- class and set it to the value of the property. This code example is part of the RuleActionTrackingEventSample SDK Sample from the SimplePolicyWorkflow.designer.cs file. For more information, see [RuleActionTrackingEvent Sample](https://msdn.microsoft.com/library/cea1192f-82e2-4c8a-acc0-5f8ed462de73).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets24.cs" id="Snippet294":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets24.vb" id="Snippet294":::
-
- ]]>
-
+ To be added.
@@ -115,17 +95,7 @@
The name of the that the activity evaluates.
Initializes a new instance of the class using the name of the .
-
- class using the name of a RuleSet. This code example is part of the Policy SDK Sample from the DiscountPolicyWorkflow.Designer.cs file. For more information, see [Advanced Policy](https://msdn.microsoft.com/library/1ad079ee-b50b-4af4-9575-597eafc97742).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet164":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet164":::
-
- ]]>
-
+ To be added.
@@ -169,17 +139,7 @@
Gets or sets the name of the that the activity evaluates.
The name of the that the activity evaluates.
-
- class and set it to the value of the property. This code example is part of the RuleActionTrackingEventSample SDK Sample from the SimplePolicyWorkflow.designer.cs file. For more information, see [RuleActionTrackingEvent Sample](https://msdn.microsoft.com/library/cea1192f-82e2-4c8a-acc0-5f8ed462de73).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets24.cs" id="Snippet294":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets24.vb" id="Snippet294":::
-
- ]]>
-
+ To be added.
diff --git a/xml/System.Workflow.Activities/CallExternalMethodActivity.xml b/xml/System.Workflow.Activities/CallExternalMethodActivity.xml
index bf512bbe3de..cf57efd62cc 100644
--- a/xml/System.Workflow.Activities/CallExternalMethodActivity.xml
+++ b/xml/System.Workflow.Activities/CallExternalMethodActivity.xml
@@ -44,22 +44,15 @@
## Remarks
> [!NOTE]
-> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
+> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
A local service is a class that implements a local service interface (an interface that is marked with ) and is added to the .
> [!NOTE]
> When the external method is called all parameters of the method are cloned. If the parameter types implement , the `Clone` method is called or they're serialized and deserialized with .
-## Examples
- The following code example shows how to use the in a custom activity to call an external method. This code example is part of the Listen SDK sample from the PurchaseOrderWorkflow.Designer.cs file. For more information, see [Listen Sample](https://learn.microsoft.com/previous-versions/dotnet/netframework-3.5/ms741698(v=vs.90)).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets19.cs" id="Snippet213":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets19.vb" id="Snippet213":::
-
]]>
- Using the CallExternalMethod Activity
@@ -69,18 +62,7 @@
Initializes a new instance of the class.
-
-
-
- Using the CallExternalMethod Activity
+ To be added.
@@ -98,17 +80,7 @@
Initializes a new instance of the class.
-
- . The code also initializes new instances of the , , , and classes. This code example is part of the Listen SDK sample from the PurchaseOrderWorkflow.Designer.cs file. For more information, see [Listen Sample](https://learn.microsoft.com/previous-versions/dotnet/netframework-3.5/ms741698(v=vs.90)).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets19.cs" id="Snippet214":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets19.vb" id="Snippet214":::
-
- ]]>
-
+ To be added.
@@ -178,17 +150,8 @@
For an example of correlation, see the [Correlated Local Service Sample](https://msdn.microsoft.com/library/5a3d0733-bbea-4dbf-88ee-a8316db55fbd).
-
-
-## Examples
- The following sample shows how to access the `CorrelationToken` property of a `CallExternalMethodActivity` object. This sample is from the Correlated Local Service SDK sample, from the CorrelatedLocalServiceWorkflow.designer.cs file. For more information, see [Correlated Local Service Sample](https://msdn.microsoft.com/library/5a3d0733-bbea-4dbf-88ee-a8316db55fbd).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets19.cs" id="Snippet200":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets19.vb" id="Snippet200":::
-
]]>
- Using the CallExternalMethod Activity
@@ -318,18 +281,7 @@
Gets or sets an external method's declaring interface that has the .
The external method's declaring interface that has the .
-
- property. The interface type must be attributed with the . This code example is part of the Listen SDK sample from the PurchaseOrderWorkflow.Designer.cs file. For more information, see [Listen Sample](https://learn.microsoft.com/previous-versions/dotnet/netframework-3.5/ms741698(v=vs.90)).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets19.cs" id="Snippet217":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets19.vb" id="Snippet217":::
-
- ]]>
-
- Using the CallExternalMethod Activity
+ To be added.
@@ -387,18 +339,7 @@
Occurs before invoking the method.
-
- event to set the method to call before invoking the external method. This code example is part of the Listen SDK sample from the PurchaseOrderWorkflow.Designer.cs file. For more information, see [Listen Sample](https://learn.microsoft.com/previous-versions/dotnet/netframework-3.5/ms741698(v=vs.90)).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets19.cs" id="Snippet217":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets19.vb" id="Snippet217":::
-
- ]]>
-
- Using the CallExternalMethod Activity
+ To be added.
@@ -473,18 +414,7 @@
Gets or sets the name of the method to be called on the local service registered with the .
The method name of the interface.
-
- property to set the method name of the external method. This code example is part of the Listen SDK sample from the PurchaseOrderWorkflow.Designer.cs file. For more information, see [Listen Sample](https://learn.microsoft.com/previous-versions/dotnet/netframework-3.5/ms741698(v=vs.90)).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets19.cs" id="Snippet217":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets19.vb" id="Snippet217":::
-
- ]]>
-
- Using the CallExternalMethod Activity
+ To be added.
@@ -540,18 +470,7 @@
An that contains the data for the event.
Provides a hook for derived classes to extract out and return values from the . This method is called just after the external method is run.
-
-
-
- Using the CallExternalMethod Activity
+ To be added.
@@ -576,18 +495,7 @@
An that contains the data for the event.
Provides a hook for derived classes to set . This method is called just before the external method is run.
-
-
-
- Using the CallExternalMethod Activity
+ To be added.
@@ -619,17 +527,7 @@
Gets the collection of bindable parameters as found in the external method's formal parameter list.
The of parameters to bind to.
-
-
-
- Using the CallExternalMethod Activity
+ To be added.
diff --git a/xml/System.Workflow.Activities/CodeActivity.xml b/xml/System.Workflow.Activities/CodeActivity.xml
index 9f88a304a13..bd9f47fdea6 100644
--- a/xml/System.Workflow.Activities/CodeActivity.xml
+++ b/xml/System.Workflow.Activities/CodeActivity.xml
@@ -83,28 +83,7 @@
Initializes a new instance of the class.
-
- class. The example code also creates new instances of the and classes. This code example is part of the ConditionedActivityGroup SDK sample from the SimpleCAGWorkflow.designer.cs file. For more information, see [Using ConditionedActivityGroup](https://msdn.microsoft.com/library/5a0b7e9e-def5-46b2-acbb-0005e1aff984).
-
-```csharp
-private ConditionedActivityGroup BookingCAG;
-private CodeActivity Car;
-private CodeActivity Airline;
-
-this.CanModifyActivities = true;
-CodeCondition codecondition1 = new CodeCondition();
-CodeCondition codecondition2 = new CodeCondition();
-this.BookingCAG = new ConditionedActivityGroup();
-this.Car = new CodeActivity();
-this.Airline = new CodeActivity();
-```
-
- ]]>
-
- Using the Code Activity
+ To be added.
@@ -180,18 +159,7 @@ this.Airline = new CodeActivity();
Occurs when the starts.
-
- event. This code example is part of the Compensation SDK sample from the PurchaseOrder.cs file. For more information, see [Using Compensation](https://msdn.microsoft.com/library/c847a694-9978-46af-aa80-5bd1833f813b).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet155":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet155":::
-
- ]]>
-
- Using the Code Activity
+ To be added.
@@ -218,16 +186,8 @@ this.Airline = new CodeActivity();
## Remarks
[!INCLUDE[DependencyPropertyRemark](~/includes/dependencypropertyremark-md.md)]
-
-
-## Examples
- The following code example demonstrates how to create a new instance of the and specify the handler for the event.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets38.cs" id="Snippet311":::
-
]]>
- Using the Code Activity
diff --git a/xml/System.Workflow.Activities/CodeCondition.xml b/xml/System.Workflow.Activities/CodeCondition.xml
index 6ffd794e28f..43a6494319f 100644
--- a/xml/System.Workflow.Activities/CodeCondition.xml
+++ b/xml/System.Workflow.Activities/CodeCondition.xml
@@ -31,13 +31,13 @@
Defines a condition that guards/drives the execution of a certain activity within a workflow definition. It has an event of type to return the result of the condition.
- [!NOTE]
-> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
-
+> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
+
]]>
@@ -57,27 +57,7 @@
Initializes a new instance of the class.
-
- . The code also creates two class instances and an instance of . This code example is part of the ConditionedActivityGroup SDK sample from the SimpleCAGWorkflow.designer.cs file. For more information, see [Using ConditionedActivityGroup](https://msdn.microsoft.com/library/5a0b7e9e-def5-46b2-acbb-0005e1aff984).
-
-```csharp
-private ConditionedActivityGroup BookingCAG;
-private CodeActivity Car;
-private CodeActivity Airline;
-
-this.CanModifyActivities = true;
-CodeCondition codecondition1 = new CodeCondition();
-CodeCondition codecondition2 = new CodeCondition();
-this.BookingCAG = new ConditionedActivityGroup();
-this.Car = new CodeActivity();
-this.Airline = new CodeActivity();
-```
-
- ]]>
-
+ To be added.
@@ -104,17 +84,7 @@ this.Airline = new CodeActivity();
Occurs when the condition is evaluated.
-
- event handler for the current instance. This code example is part of the ConditionedActivityGroup SDK sample from the SimpleCAGWorkflow.designer.cs file. For more information, see [Using ConditionedActivityGroup](https://msdn.microsoft.com/library/5a0b7e9e-def5-46b2-acbb-0005e1aff984).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet158":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet158":::
-
- ]]>
-
+ To be added.
@@ -136,11 +106,11 @@ this.Airline = new CodeActivity();
Represents the that targets the event.
-
diff --git a/xml/System.Workflow.Activities/ConditionedActivityGroup.xml b/xml/System.Workflow.Activities/ConditionedActivityGroup.xml
index afbd6f3c455..f57e669aeca 100644
--- a/xml/System.Workflow.Activities/ConditionedActivityGroup.xml
+++ b/xml/System.Workflow.Activities/ConditionedActivityGroup.xml
@@ -90,20 +90,8 @@
Initializes a new instance of the class.
-
- . The code also creates two class instances and two class instances. This code example is part of the ConditionedActivityGroup SDK Sample from the SimpleCAGWorkflow.Designer.cs file. For more information, see [Using ConditionedActivityGroup](https://msdn.microsoft.com/library/5a0b7e9e-def5-46b2-acbb-0005e1aff984).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet157":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet157":::
-
- ]]>
-
+ To be added.
No children are executing and the evaluates to .
- Using the ConditionedActivityGroup
- Using Conditions in Workflows
@@ -467,19 +455,7 @@
Gets or sets a value that indicates when the should complete.
A condition that determines whether the should complete.
-
- to `null`, which means the `BookingCAG` class never completes. This code example is part of the ConditionedActivityGroup SDK Sample from the SimpleCAGWorkflow.Designer.cs file. For more information, see [Using ConditionedActivityGroup](https://msdn.microsoft.com/library/5a0b7e9e-def5-46b2-acbb-0005e1aff984).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet159":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet159":::
-
- ]]>
-
- Using the ConditionedActivityGroup
- Using Conditions in Workflows
+ To be added.
diff --git a/xml/System.Workflow.Activities/CorrelationAliasAttribute.xml b/xml/System.Workflow.Activities/CorrelationAliasAttribute.xml
index 3c7ac8a0dbe..210ebe24c90 100644
--- a/xml/System.Workflow.Activities/CorrelationAliasAttribute.xml
+++ b/xml/System.Workflow.Activities/CorrelationAliasAttribute.xml
@@ -27,24 +27,17 @@
Overrides the correlation parameter value when the correlation value must be obtained from a parameter other than that indicated by the . This class cannot be inherited.
- [!NOTE]
-> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
-
- To match an incoming message with the appropriate workflow instance, the message and the workflow instance must share a key. This key is called a correlation set. Typically, the key can be a single-valued correlation set. This means that an ID field in the message can be matched against an ID of the same type that is held by schedule instances.
-
- The is applied to a method or an event on an interface on a data exchange interface.
-
-
-
-## Examples
- The following code example shows how to use a to override a . This code example is from the CorrelatedLocalService SDK sample. For more information, see [Correlated Local Service Sample](https://msdn.microsoft.com/library/5a3d0733-bbea-4dbf-88ee-a8316db55fbd).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets38.cs" id="Snippet312":::
-
+> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
+
+ To match an incoming message with the appropriate workflow instance, the message and the workflow instance must share a key. This key is called a correlation set. Typically, the key can be a single-valued correlation set. This means that an ID field in the message can be matched against an ID of the same type that is held by schedule instances.
+
+ The is applied to a method or an event on an interface on a data exchange interface.
+
]]>
@@ -71,16 +64,16 @@
Indicates which argument in the method or event holds the value for the correlation parameter specified by . This parameter can use dot notation, for example, .
Initializes a new instance of the with the name of the correlation that is being aliased and the path to where the value can be found.
- class.
-
-|Property|Value|
-|--------------|-----------|
-||The value of `name`.|
-||The value of `path`.|
-
+ class.
+
+|Property|Value|
+|--------------|-----------|
+||The value of `name`.|
+||The value of `path`.|
+
]]>
@@ -127,11 +120,11 @@
Gets the path within the parameter that specifies the location of the correlation value.
The path within the parameter that specifies the location of the correlation value.
-
diff --git a/xml/System.Workflow.Activities/CorrelationParameterAttribute.xml b/xml/System.Workflow.Activities/CorrelationParameterAttribute.xml
index 151e139671c..bd9562258df 100644
--- a/xml/System.Workflow.Activities/CorrelationParameterAttribute.xml
+++ b/xml/System.Workflow.Activities/CorrelationParameterAttribute.xml
@@ -27,22 +27,15 @@
Indicates the name of the parameter used for correlation in the methods and events defined on an ExternalDataExchange interface. This class cannot be inherited.
- [!NOTE]
-> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
-
- Default setting; can be overridden by the .
-
-
-
-## Examples
- The following code example demonstrates how to use a CorrelationParameterAttribute for an ExternalDataExchange interface. This code example is from the CorrelatedLocalService SDK sample. For more information, see [Correlated Local Service Sample](https://msdn.microsoft.com/library/5a3d0733-bbea-4dbf-88ee-a8316db55fbd).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets38.cs" id="Snippet305":::
-
+> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
+
+ Default setting; can be overridden by the .
+
]]>
diff --git a/xml/System.Workflow.Activities/DelayActivity.xml b/xml/System.Workflow.Activities/DelayActivity.xml
index 43e2430001e..6ff6843dccf 100644
--- a/xml/System.Workflow.Activities/DelayActivity.xml
+++ b/xml/System.Workflow.Activities/DelayActivity.xml
@@ -65,17 +65,8 @@
The is guaranteed to complete no sooner than the indicated . The delay can take longer because the timer notification might occur some time after the is reached. One reason for a longer delay is if the workflow is running under high system stress in a server environment.
-
-
-## Examples
- The following code example demonstrates how to create a new instance of the class. This code example is part of the SimpleStateMachineWorkflow SDK Sample from the StateMachineWorkflow.cs file. For more information, see Simple State Machine.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets19.cs" id="Snippet188":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets19.vb" id="Snippet188":::
-
]]>
- Delay Sample
@@ -103,18 +94,7 @@
Initializes a new instance of the class.
-
- class. This code example is part of the SimpleStateMachineWorkflow SDK Sample from the StateMachineWorkflow.cs file. For more information, see [Simple State Machine](https://msdn.microsoft.com/library/1974edbd-253d-4e01-9095-38ff9c3e749e).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets19.cs" id="Snippet188":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets19.vb" id="Snippet188":::
-
- ]]>
-
- Delay Sample
+ To be added.
@@ -495,17 +475,8 @@
## Remarks
The time period set in this property determines the time the workflow will sit idle before the workflow proceeds to the next activity.
-
-
-## Examples
- The following code example demonstrates how to set the value of the property to 3 seconds. This code assumes that `delay2` is of type . This code example is part of the SimpleStateMachineWorkflow SDK Sample from the StateMachineWorkflow.cs file. For more information, see [Simple State Machine](https://msdn.microsoft.com/library/1974edbd-253d-4e01-9095-38ff9c3e749e).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets19.cs" id="Snippet190":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets19.vb" id="Snippet190":::
-
]]>
- Delay Sample
@@ -532,17 +503,8 @@
## Remarks
[!INCLUDE[DependencyPropertyRemark](~/includes/dependencypropertyremark-md.md)]
-
-
-## Examples
- The following code example demonstrates how to use the field.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets19.cs" id="Snippet190":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets19.vb" id="Snippet190":::
-
]]>
- Delay Sample
diff --git a/xml/System.Workflow.Activities/EventDrivenActivity.xml b/xml/System.Workflow.Activities/EventDrivenActivity.xml
index c4f2166e948..3ab43c467b2 100644
--- a/xml/System.Workflow.Activities/EventDrivenActivity.xml
+++ b/xml/System.Workflow.Activities/EventDrivenActivity.xml
@@ -66,14 +66,6 @@
Another example is that the can contain a , but the itself cannot contain any classes.
-
-
-## Examples
- The following code example shows how to use the to perform state machine transitions. This code example is part of the SimpleStateMachineWorkflow SDK sample from the StateMachineWorkflow.cs file. For more information, see [Simple State Machine](https://msdn.microsoft.com/library/1974edbd-253d-4e01-9095-38ff9c3e749e).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets19.cs" id="Snippet185":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets19.vb" id="Snippet185":::
-
]]>
Using the EventDriven Activity
@@ -103,18 +95,7 @@
Initializes a new instance of the class.
-
- class. This code example is part of the SimpleStateMachineWorkflow SDK sample from the StateMachineWorkflow.cs file. For more information, see [Simple State Machine](https://msdn.microsoft.com/library/1974edbd-253d-4e01-9095-38ff9c3e749e).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets19.cs" id="Snippet187":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets19.vb" id="Snippet187":::
-
- ]]>
-
- Using the EventDriven Activity
+ To be added.
diff --git a/xml/System.Workflow.Activities/ExecutionType.xml b/xml/System.Workflow.Activities/ExecutionType.xml
index cd45b9ba1d6..5e1591903d0 100644
--- a/xml/System.Workflow.Activities/ExecutionType.xml
+++ b/xml/System.Workflow.Activities/ExecutionType.xml
@@ -22,21 +22,13 @@
Specifies the execution mode for activities.
- [!NOTE]
-> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
-
-
-
-## Examples
- The following code example shows how to set the execution mode for activities using the enumeration. This code example is part of the Replicator SDK Sample from the Simplereplicatorworkflow.cs file. For more information, see [Using Replicator](https://msdn.microsoft.com/library/4e35f26b-cf12-4c04-9d25-9ceb958f2858).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet179":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet179":::
-
+> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
+
]]>
diff --git a/xml/System.Workflow.Activities/ExternalDataEventArgs.xml b/xml/System.Workflow.Activities/ExternalDataEventArgs.xml
index 2745de4fb65..79e0fa5f3db 100644
--- a/xml/System.Workflow.Activities/ExternalDataEventArgs.xml
+++ b/xml/System.Workflow.Activities/ExternalDataEventArgs.xml
@@ -27,40 +27,15 @@
Represents the data sent when an event is raised using the activity.
- [!NOTE]
-> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
-
- A local communication interface marked with must declare a type that derives from in the interface definition for the corresponding event to be handled in a workflow with a activity.
-
-
-
-## Examples
- An event class that inherits from must implement a constructor that uses the `:base(instanceId)` constructor. In addition, the new event class must be marked as `Serializable` as shown in the following code.
-
-```csharp
-[Serializable]
-public class TaskEventArgs : ExternalDataEventArgs
-{
- private string orderName;
-
- public TaskEventArgs(Guid instanceId, string id)
- :base(instanceId)
- {
- orderName = id;
- }
-
- public string Id
- {
- get { return orderName; }
- set { orderName = value; }
- }
-}
-```
-
+> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
+
+ A local communication interface marked with must declare a type that derives from in the interface definition for the corresponding event to be handled in a workflow with a activity.
+
]]>
@@ -72,17 +47,7 @@ public class TaskEventArgs : ExternalDataEventArgs
Initializes a new instance of the class.
-
- constructor from a derived class' constructor. This example is from the Ordering State Machine SDK sample. For more information, see [Ordering State Machine Sample](https://msdn.microsoft.com/library/59272cf4-bc98-439c-bcfa-b66999ebce5c).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets1.cs" id="Snippet121":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets1.vb" id="Snippet121":::
-
- ]]>
-
+ To be added.
@@ -198,15 +163,15 @@ public class TaskEventArgs : ExternalDataEventArgs
Gets or sets the identity of the user that raised the event.
The identity of the user that is raising the event.
- activity. If the value that is set in the property of this activity does not match any of the roles associated with the user identity, the activity is not allowed to execute.
-
- The entity that raises the event can be a person or a computer.
-
- Identity is used by the Roles functionality to ensure that this identity is allowed to submit data to this workflow.
-
+ activity. If the value that is set in the property of this activity does not match any of the roles associated with the user identity, the activity is not allowed to execute.
+
+ The entity that raises the event can be a person or a computer.
+
+ Identity is used by the Roles functionality to ensure that this identity is allowed to submit data to this workflow.
+
]]>
@@ -231,11 +196,11 @@ public class TaskEventArgs : ExternalDataEventArgs
Gets or sets the workflow instance identifier for the workflow instance that contains the that is expected to handle the event.
The workflow instance identifier for the workflow instance that contains the that is expected to handle the event.
-
@@ -261,13 +226,13 @@ public class TaskEventArgs : ExternalDataEventArgs
if the workflow should go idle before raising the event; otherwise, .
- . A value of `false` indicates that data was submitted to the workflow using .
-
+ . A value of `false` indicates that data was submitted to the workflow using .
+
]]>
diff --git a/xml/System.Workflow.Activities/ExternalDataExchangeAttribute.xml b/xml/System.Workflow.Activities/ExternalDataExchangeAttribute.xml
index 54ccbedf004..65c64bc18cf 100644
--- a/xml/System.Workflow.Activities/ExternalDataExchangeAttribute.xml
+++ b/xml/System.Workflow.Activities/ExternalDataExchangeAttribute.xml
@@ -27,33 +27,26 @@
Marks an interface as a local service interface. This class cannot be inherited.
- [!WARNING]
-> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
-
- A class that implements a local service interface must be added to the and can be used by and .
-
- Events on interfaces that are attributed with should have event data that derive from .
-
- While generic types are supported for interface method and event declarations, generic types are not supported for the interface declaration itself. The following interface would not be valid for use as an `ExternalDataExchange`.
-
-```
-public interface IInterfaceName
-{
- void MethodName(TCommand Request);
-}
-```
-
-
-
-## Examples
- The following code example shows how to set the on an interface. This code example is part of the ActiveDirectoryRoles SDK sample from the IStartPurchaseOrder.cs file. For more information, see [Using Active Directory Roles](https://msdn.microsoft.com/library/7b1708da-fd2a-47da-902b-3d50580ee781).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets24.cs" id="Snippet285":::
-
+> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
+
+ A class that implements a local service interface must be added to the and can be used by and .
+
+ Events on interfaces that are attributed with should have event data that derive from .
+
+ While generic types are supported for interface method and event declarations, generic types are not supported for the interface declaration itself. The following interface would not be valid for use as an `ExternalDataExchange`.
+
+```csharp
+public interface IInterfaceName
+{
+ void MethodName(TCommand Request);
+}
+```
+
]]>
diff --git a/xml/System.Workflow.Activities/ExternalDataExchangeService.xml b/xml/System.Workflow.Activities/ExternalDataExchangeService.xml
index 22b4de71520..4ce27931d4e 100644
--- a/xml/System.Workflow.Activities/ExternalDataExchangeService.xml
+++ b/xml/System.Workflow.Activities/ExternalDataExchangeService.xml
@@ -23,15 +23,15 @@
Represents a service that must be added to the workflow run-time engine for local services communications to be enabled. Local service implementations are required to be added to the for these services to be properly initialized and registered.
- [!NOTE]
-> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
-
- A local service implementation is a class that implements an interface that is marked with . Local services added in this way are used by and .
-
+> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
+
+ A local service implementation is a class that implements an interface that is marked with . Local services added in this way are used by and .
+
]]>
@@ -60,17 +60,7 @@
Initializes a new instance of the class.
-
- class. This example is from the Ordering State Machine SDK sample. For more information, see [Ordering State Machine Sample](https://msdn.microsoft.com/library/59272cf4-bc98-439c-bcfa-b66999ebce5c).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets1.cs" id="Snippet122":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets1.vb" id="Snippet122":::
-
- ]]>
-
+ To be added.
@@ -166,17 +156,7 @@
An object that represents the service to add.
Adds the specified service to the .
-
- object. This example is from the Ordering State Machine SDK sample. For more information, see [Ordering State Machine Sample](https://msdn.microsoft.com/library/59272cf4-bc98-439c-bcfa-b66999ebce5c).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets1.cs" id="Snippet122":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets1.vb" id="Snippet122":::
-
- ]]>
-
+ To be added.
is a null reference ( in Visual Basic).
The external run-time container was not found.
diff --git a/xml/System.Workflow.Activities/HandleExternalEventActivity.xml b/xml/System.Workflow.Activities/HandleExternalEventActivity.xml
index 4ad9c6076e7..7356a633330 100644
--- a/xml/System.Workflow.Activities/HandleExternalEventActivity.xml
+++ b/xml/System.Workflow.Activities/HandleExternalEventActivity.xml
@@ -60,17 +60,8 @@
Classes that derive from should not implement the interface because the derived class does not execute correctly.
-
-
-## Examples
- The following code example shows how to create and set values for the class. This code example is part of the RaiseEventToLoadWorkflow SDK sample from the DocumentApprovalWorkflow.cs file. For more information, see [Raise Event To Load Workflow](https://msdn.microsoft.com/library/71330ada-adcd-42a9-8b38-468d8a0cfb80).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet160":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet160":::
-
]]>
- Using the HandleExternalEvent Activity
@@ -98,18 +89,7 @@
Initializes a new instance of the class.
-
- class. This code example is part of the RaiseEventToLoadWorkflow SDK sample from the DocumentApprovalWorkflow.cs file. For more information, see [Raise Event To Load Workflow](https://msdn.microsoft.com/library/71330ada-adcd-42a9-8b38-468d8a0cfb80).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet160":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet160":::
-
- ]]>
-
- Using the HandleExternalEvent Activity
+ To be added.
@@ -203,18 +183,7 @@
This correlation should not be confused with correlating an event to the correct workflow instance. The correlation to the correct workflow instance is done by sending the event to an explicit workflow instance and using the property to properly identify the correct workflow instance.
For an example of correlation, see the Correlated Local Service Sample.
-
-
-
- Using the HandleExternalEvent Activity
+
@@ -287,18 +256,7 @@
Gets the name of the raised event. This property must be set before local communication can occur.
The name of the raised event.
-
- class. This code example is part of the RaiseEventToLoadWorkflow SDK sample from the DocumentApprovalWorkflow.cs file. For more information, see [Raise Event To Load Workflow](https://msdn.microsoft.com/library/71330ada-adcd-42a9-8b38-468d8a0cfb80).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet160":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet160":::
-
- ]]>
-
- Using the HandleExternalEvent Activity
+ To be added.
@@ -485,18 +443,7 @@
Gets or sets the attributed interface type of the local service whose event is handled. This property must be set before local communication can occur.
The interface type of the local service whose event is handled.
-
- class. This code example is part of the RaiseEventToLoadWorkflow SDK sample from the DocumentApprovalWorkflow.cs file. For more information, see [Raise Event To Load Workflow](https://msdn.microsoft.com/library/71330ada-adcd-42a9-8b38-468d8a0cfb80).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet160":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet160":::
-
- ]]>
-
- Using the HandleExternalEvent Activity
+ To be added.
@@ -552,18 +499,7 @@
Occurs when the external event is received.
-
- class. This code example is part of the RaiseEventToLoadWorkflow SDK sample from the DocumentApprovalWorkflow.cs file. For more information, see [Raise Event To Load Workflow](https://msdn.microsoft.com/library/71330ada-adcd-42a9-8b38-468d8a0cfb80).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet160":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet160":::
-
- ]]>
-
- Using the HandleExternalEvent Activity
+ To be added.
@@ -655,17 +591,8 @@
## Remarks
The most common use of the method in derived classes is to extract members from the received to set the values of the derived-classed activity's public properties.
-
-
-## Examples
- The following example shows an implementation of the `OnInvoked` method. This example is from the Correlated Local Service SDK sample, from the TaskCompleted.cs file. For more information, see [Correlated Local Service Sample](https://msdn.microsoft.com/library/5a3d0733-bbea-4dbf-88ee-a8316db55fbd).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets24.cs" id="Snippet223":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets24.vb" id="Snippet223":::
-
]]>
- Using the HandleExternalEvent Activity
@@ -697,18 +624,7 @@
Gets the collection of parameter bindings.
The collection of parameter bindings.
-
-
-
- Using the HandleExternalEvent Activity
+ To be added.
@@ -768,17 +684,8 @@
## Remarks
The limits the set of users who can send messages to a workflow instance through a activity.
-
-
-## Examples
- The following code example shows how to create and set values for the class. This code example is part of the RaiseEventToLoadWorkflow SDK sample from the DocumentApprovalWorkflow.cs file. For more information, see [Raise Event To Load Workflow](https://msdn.microsoft.com/library/71330ada-adcd-42a9-8b38-468d8a0cfb80).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet160":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet160":::
-
]]>
- Using the HandleExternalEvent Activity
diff --git a/xml/System.Workflow.Activities/IEventActivity.xml b/xml/System.Workflow.Activities/IEventActivity.xml
index 8d91e4615fe..484029752c5 100644
--- a/xml/System.Workflow.Activities/IEventActivity.xml
+++ b/xml/System.Workflow.Activities/IEventActivity.xml
@@ -20,13 +20,13 @@
Provides methods and properties that event-driven activities must derive from, to subscribe to events.
- [!NOTE]
-> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
-
+> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
+
]]>
@@ -77,17 +77,7 @@
The that represents the execution environment of the .
The for the parent event.
Creates the subscription of an to an event.
-
- method. This code example is part of the FileWatcher SDK Sample from the FileSystemEvent.cs file. For more information, see [File System Watcher Activity](https://learn.microsoft.com/previous-versions/dotnet/netframework-3.5/ms741707(v=vs.90)).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets1.cs" id="Snippet106":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets1.vb" id="Snippet106":::
-
- ]]>
-
+ To be added.
@@ -114,17 +104,7 @@
The that represents the execution environment of the .
The for the parent event.
Cancels the subscription of an to an event.
-
- method. This code example is part of the FileWatcher SDK Sample from the FileSystemEvent.cs file. For more information, see [File System Watcher Activity](https://learn.microsoft.com/previous-versions/dotnet/netframework-3.5/ms741707(v=vs.90)).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets1.cs" id="Snippet107":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets1.vb" id="Snippet107":::
-
- ]]>
-
+ To be added.
diff --git a/xml/System.Workflow.Activities/IfElseActivity.xml b/xml/System.Workflow.Activities/IfElseActivity.xml
index b6648ea0008..d3c5b44891d 100644
--- a/xml/System.Workflow.Activities/IfElseActivity.xml
+++ b/xml/System.Workflow.Activities/IfElseActivity.xml
@@ -56,18 +56,8 @@
A can complete without having run any child activity, if no conditions are satisfied.
-
-
-## Examples
- The following code example shows how to create a new instance of the class and add two classes to it. This code example is part of the SequentialWorkflowWithParameters SDK Sample from the SequentialWorkflow.cs file. For more information, see [Workflow with Parameters Sample](https://learn.microsoft.com/previous-versions/dotnet/netframework-3.5/ms741685(v=vs.90)).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets19.cs" id="Snippet194":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets19.vb" id="Snippet194":::
-
]]>
- Using the IfElse Activity
- Using Conditions in Workflows
@@ -96,19 +86,7 @@
Initializes a new instance of the class.
-
- class and add two classes to it. This code example is part of the SequentialWorkflowWithParameters SDK sample from the SequentialWorkflow.cs file. For more information, see [Workflow with Parameters Sample](https://learn.microsoft.com/previous-versions/dotnet/netframework-3.5/ms741685(v=vs.90)).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets24.cs" id="Snippet296":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets24.vb" id="Snippet296":::
-
- ]]>
-
- Using the IfElse Activity
- Using Conditions in Workflows
+ To be added.
diff --git a/xml/System.Workflow.Activities/IfElseBranchActivity.xml b/xml/System.Workflow.Activities/IfElseBranchActivity.xml
index 40dd5ea50f0..e0278669315 100644
--- a/xml/System.Workflow.Activities/IfElseBranchActivity.xml
+++ b/xml/System.Workflow.Activities/IfElseBranchActivity.xml
@@ -39,15 +39,15 @@
Represents a branch of an . This class cannot be inherited.
- [!NOTE]
-> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
-
- The of each branch is determined before the branch is run. The first in the that evaluates to `true` is run.
-
+> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
+
+ The of each branch is determined before the branch is run. The first in the that evaluates to `true` is run.
+
]]>
@@ -76,17 +76,7 @@
Initializes a new instance of the class.
-
- class. This code example is part of the Compensation SDK Sample from the PurchaseOrder.cs file. For more information, see [Using Compensation](https://msdn.microsoft.com/library/c847a694-9978-46af-aa80-5bd1833f813b).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets.cs" id="Snippet38":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets.vb" id="Snippet38":::
-
- ]]>
-
+ To be added.
@@ -141,19 +131,11 @@
Gets or sets an object reference for the current branch activity. The evaluation of this condition returns a value that indicates whether this branch should be run.
An that returns a value that indicates whether this branch should be run.
- in the and required in other cases.
-
-
-
-## Examples
- The following code example shows how to set the property. This code assumes that `Available` is of type . This code example is part of the Compensation SDK Sample from the PurchaseOrder.cs file. For more information, see [Using Compensation](https://msdn.microsoft.com/library/c847a694-9978-46af-aa80-5bd1833f813b).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets.cs" id="Snippet39":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets.vb" id="Snippet39":::
-
+ in the and required in other cases.
+
]]>
@@ -177,11 +159,11 @@
Represents the that targets the property.
-
diff --git a/xml/System.Workflow.Activities/OperationInfo.xml b/xml/System.Workflow.Activities/OperationInfo.xml
index 98469f63137..45b88e5a516 100644
--- a/xml/System.Workflow.Activities/OperationInfo.xml
+++ b/xml/System.Workflow.Activities/OperationInfo.xml
@@ -60,14 +60,6 @@
## Remarks
When activities are deserialized from Xoml, the constructors for the associated properties are called automatically.
-
-
-## Examples
- The following example demonstrates how to create a new instance of the class.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/operationinfo/cs/operationinfosnippets.cs" id="Snippet0":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationinfo/vb/operationinfosnippets.vb" id="Snippet0":::
-
]]>
@@ -98,14 +90,6 @@
## Remarks
This method creates a deep copy of the object, with the same , , , and values.
-
-
-## Examples
- The following example demonstrates how to use the `Clone` method.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/operationinfo/cs/operationinfosnippets.cs" id="Snippet6":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationinfo/vb/operationinfosnippets.vb" id="Snippet6":::
-
]]>
@@ -129,17 +113,7 @@
Gets or sets the full name of the contract that defines this operation.
A string that represents the full name of the contract that defines the operation.
-
-
-
+ To be added.
@@ -172,14 +146,6 @@
## Remarks
This operation compares the values of the , , , and values.
-
-
-## Examples
- The following example demonstrates how to use the `Equals` method.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/operationinfo/cs/operationinfosnippets.cs" id="Snippet7":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationinfo/vb/operationinfosnippets.vb" id="Snippet7":::
-
]]>
@@ -256,17 +222,7 @@
Returns a hash code for the current .
A hash code for this instance.
-
-
-
+ To be added.
@@ -372,17 +328,7 @@
Gets information on whether or not the operation has a defined .
A Boolean value indicating whether or not the operation has a associated with it.
-
-
-
+ To be added.
@@ -410,23 +356,8 @@
Gets or sets information on the operation to specify that communication between the service and a client is one-way.
- if the operation supports one-way communication; otherwise, .
-
-
-
+ if the operation supports one-way communication; otherwise, . The default is .
+ To be added.
@@ -460,14 +391,6 @@
## Remarks
The `Parameters` collection will contain one element for each parameter in the method signature of the operation, plus one element for the return value of the operation.
-
-
-## Examples
- The following example demonstrates how to access the `Parameters` property.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/operationinfo/cs/operationinfosnippets.cs" id="Snippet4":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationinfo/vb/operationinfosnippets.vb" id="Snippet4":::
-
]]>
@@ -503,14 +426,6 @@
## Remarks
The default value is `null`, which means that the protection level is not set.
-
-
-## Examples
- The following example demonstrates how to access the `ProtectionLevel` property.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/operationinfo/cs/operationinfosnippets.cs" id="Snippet5":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationinfo/vb/operationinfosnippets.vb" id="Snippet5":::
-
]]>
@@ -541,14 +456,6 @@
## Remarks
This method returns the value if extant; otherwise, it returns the value.
-
-
-## Examples
- The following example demonstrates how to use the `ToString` method.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/operationinfo/cs/operationinfosnippets.cs" id="Snippet9":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationinfo/vb/operationinfosnippets.vb" id="Snippet9":::
-
]]>
diff --git a/xml/System.Workflow.Activities/ParallelActivity.xml b/xml/System.Workflow.Activities/ParallelActivity.xml
index d121532dbc9..f2a7f747875 100644
--- a/xml/System.Workflow.Activities/ParallelActivity.xml
+++ b/xml/System.Workflow.Activities/ParallelActivity.xml
@@ -64,17 +64,8 @@
The is especially useful when there are one or more blocking activities, such as the activity, in one or more of the branches. In this scenario, the actually switches to a different branch when the is blocked. If there are no blocking activities in any one of the branches then the activity uses a non-deterministic sequence.
-
-
-## Examples
- The following code example shows how to create a new instance of the class, add the class to the class, and add two classes to the class. This code example is part of the WhileAndParallel SDK sample from the WhileAndParallelWorkflow.Designer.cs file. For more information, see [Using While and Parallel](https://msdn.microsoft.com/library/776a25cc-6aed-4754-b680-996213831b84).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets24.cs" id="Snippet276":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets24.vb" id="Snippet276":::
-
]]>
- Using the Parallel Activity
@@ -102,17 +93,7 @@
Initializes a new instance of the class.
-
- class, add the class to the class, and add two classes to the class. This code example is part of the WhileAndParallel SDK Sample from the WhileAndParallelWorkflow.Designer.cs file. For more information, see [Using While and Parallel](https://msdn.microsoft.com/library/776a25cc-6aed-4754-b680-996213831b84).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets24.cs" id="Snippet276":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets24.vb" id="Snippet276":::
-
- ]]>
-
+ To be added.
diff --git a/xml/System.Workflow.Activities/PolicyActivity.xml b/xml/System.Workflow.Activities/PolicyActivity.xml
index 82171887a5b..09d4cd13f68 100644
--- a/xml/System.Workflow.Activities/PolicyActivity.xml
+++ b/xml/System.Workflow.Activities/PolicyActivity.xml
@@ -40,19 +40,10 @@
## Remarks
> [!NOTE]
-> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
-
-
-
-## Examples
- The following code example demonstrates how to create a new instance of the class and set its properties. This code example is part of the RuleActionTrackingEventSample SDK sample from the SimplePolicyWorkflow.designer.cs file. For more information, see [RuleActionTrackingEvent Sample](https://msdn.microsoft.com/library/cea1192f-82e2-4c8a-acc0-5f8ed462de73).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet161":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet161":::
+> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
]]>
- Using the Policy Activity
@@ -79,18 +70,7 @@
Initializes a new instance of the class.
-
- class and set its properties. This code example is part of the RuleActionTrackingEventSample SDK sample from the SimplePolicyWorkflow.designer.cs file. For more information, see [RuleActionTrackingEvent Sample](https://msdn.microsoft.com/library/cea1192f-82e2-4c8a-acc0-5f8ed462de73).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet161":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet161":::
-
- ]]>
-
- Using the Policy Activity
+ To be added.
@@ -192,18 +172,7 @@
Gets or sets a reference to a in the .rules file.
A to a in the .rules file.
-
- class and set its properties. This code example is part of the RuleActionTrackingEventSample SDK Sample from the SimplePolicyWorkflow.designer.cs file. For more information, see [RuleActionTrackingEvent Sample](https://msdn.microsoft.com/library/cea1192f-82e2-4c8a-acc0-5f8ed462de73).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet161":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet161":::
-
- ]]>
-
- Using the Policy Activity
+ To be added.
diff --git a/xml/System.Workflow.Activities/ReceiveActivity.xml b/xml/System.Workflow.Activities/ReceiveActivity.xml
index 69959ae4d78..615c5abd899 100644
--- a/xml/System.Workflow.Activities/ReceiveActivity.xml
+++ b/xml/System.Workflow.Activities/ReceiveActivity.xml
@@ -118,13 +118,6 @@
## Remarks
The constructor is typically invoked in the code-beside file created by the workflow designer.
-
-
-## Examples
- The following example shows how to create a new instance of the class. This code was adapted from the `Conversations` SDK sample, from the `ShipperWorkflow.designer.cs` file.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/receiveactivity/cs/snippets.cs" id="Snippet11":::
-
]]>
@@ -154,13 +147,6 @@
## Remarks
The constructor is typically invoked in the code-beside file created by the workflow designer.
-
-
-## Examples
- The following example shows how to create a new instance of the class.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/receiveactivity/cs/snippets.cs" id="Snippet12":::
-
]]>
@@ -235,13 +221,6 @@
The default value for this property is `false`.
-
-
-## Examples
- The following example shows how to set the `CanCreateInstance` property. This code was adapted from the `Conversations` SDK sample, from the `ShipperWorkflow.designer.cs` file.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/receiveactivity/cs/snippets.cs" id="Snippet0":::
-
]]>
@@ -281,13 +260,6 @@
## Remarks
Context information is used for communication between the client and the service it is communicating with and includes such things as identification for correlation.
-
-
-## Examples
- The following example shows how to access the `Context` property.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/receiveactivity/cs/snippets.cs" id="Snippet17":::
-
]]>
@@ -337,13 +309,6 @@
By default, each workflow has an implicit root context token, scoped at the root activity level. The name of the root context token is '(RootContext)' and the is `null`. If a activity does not have a associated with it, the root context token is used.
-
-
-## Examples
- The following code example shows how to access the `ContextToken` property. This code example is adapted from the `Conversations` SDK sample, from the `SupplierWorkflow.Designer.cs` file.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/receiveactivity/cs/snippets.cs" id="Snippet1":::
-
]]>
@@ -440,13 +405,6 @@
If an exception is thrown during the activity execution and the property is set, then the specified fault is returned to the client. If an exception is thrown during the activity execution and the property is set, and the associated operation has a attribute that specifies a fault type that matches that of the property, then the channel is not faulted and the client can still communicate to the server. If the property is not set, the thrown exception is returned as a fault to the client.
-
-
-## Examples
- The following code sample shows how to access the `FaultMessage` property.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/receiveactivity/cs/snippets.cs" id="Snippet2":::
-
]]>
@@ -531,13 +489,6 @@
## Remarks
Context information is used for communication between the client and the service it is communicating with and includes such things as identification for correlation.
-
-
-## Examples
- The following example shows how to use the `GetContext` method.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/receiveactivity/cs/snippets.cs" id="Snippet13":::
-
]]>
@@ -575,13 +526,6 @@
## Remarks
Context information is used for communication between the client and the service it is communicating with and includes such things as identification for correlation.
-
-
-## Examples
- The following example shows how to use the `GetContext` method.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/receiveactivity/cs/snippets.cs" id="Snippet15":::
-
]]>
@@ -615,13 +559,6 @@
## Remarks
Context information is used for communication between the client and the service it is communicating with and includes such things as identification for correlation.
-
-
-## Examples
- The following example shows how to use the `GetRootContext` method.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/receiveactivity/cs/snippets.cs" id="Snippet16":::
-
]]>
@@ -663,13 +600,6 @@
> [!NOTE]
> If service attributes are set for a custom activity and that activity is included in a workflow, those service attributes are used. Service attributes are only used for custom activities if the custom activity itself is run as a workflow.
-
-
-## Examples
- The following example shows how to use the `GetWorkflowServiceAttributes` method.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/receiveactivity/cs/snippets.cs" id="Snippet5":::
-
]]>
@@ -806,13 +736,6 @@
Setting to `false` in the event handler rejects the service operation invocation and the client receives a . If is set to `true`, then the service operation invocation succeeds and the activity receives and processes the message.
-
-
-## Examples
- The following example shows how to use the `OperationValidation` event.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/receiveactivity/cs/snippets.cs" id="Snippet7":::
-
]]>
@@ -884,13 +807,6 @@
All parameters of the service contract should be included in the `ParameterBindings` property. Unbound parameters cause compiler warnings upon compilation and an exception can occur when the returns this message back to the client.
-
-
-## Examples
- The following example shows how to access the `ParameterBindings` property. This code was adapted from the `Conversations` SDK sample, from the `ShipperWorkflow.designer.cs` file.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/receiveactivity/cs/snippets.cs" id="Snippet3":::
-
]]>
@@ -932,13 +848,6 @@
An instance of can be used to configure a receive activity for the workflow-first contract scenario.
-
-
-## Examples
- The following example shows how to access the `ServiceOperationInfo` property. This code was adapted from the `Conversations` SDK sample, from the `ShipperWorkflow.designer.cs` file.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/receiveactivity/cs/snippets.cs" id="Snippet4":::
-
]]>
@@ -981,13 +890,6 @@
> [!NOTE]
> If service attributes are set for a custom activity and that activity is included in a workflow, those service attributes is not used. Service attributes are only used in custom activities if the custom activity itself is run as a workflow.
-
-
-## Examples
- The following example shows how to use the `SetWorkflowServiceAttributes` method.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/receiveactivity/cs/snippets.cs" id="Snippet6":::
-
]]>
diff --git a/xml/System.Workflow.Activities/ReplicatorActivity.xml b/xml/System.Workflow.Activities/ReplicatorActivity.xml
index 108ff6e2610..42fee8e9eaa 100644
--- a/xml/System.Workflow.Activities/ReplicatorActivity.xml
+++ b/xml/System.Workflow.Activities/ReplicatorActivity.xml
@@ -58,17 +58,8 @@
By default, a is completed when all child instances have completed. You can override this behavior with a custom condition to use when the activity finishes. If this condition evaluates to `true` before all child instances have completed, then any running incomplete child instances are canceled.
-
-
-## Examples
- The following code example shows how to create a new instance of the class and define a handler for the event. This code example is part of the Replicator SDK Sample from the SimpleReplicatorWorkflow.Designer.cs file. For more information, see [Using Replicator](https://msdn.microsoft.com/library/4e35f26b-cf12-4c04-9d25-9ceb958f2858).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet177":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet177":::
-
]]>
- Using the Replicator Activity
@@ -78,8 +69,6 @@
Initializes a new instance of the class.
- Using the Replicator Activity
- Using Conditions in Workflows
@@ -97,19 +86,7 @@
Initializes a new instance of the class.
-
- class. This code example is part of the Replicator SDK Sample from the SimpleReplicatorWorkflow.Designer.cs file. For more information, see [Using Replicator](https://msdn.microsoft.com/library/4e35f26b-cf12-4c04-9d25-9ceb958f2858).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet178":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet178":::
-
- ]]>
-
- Using the Replicator Activity
- Using Conditions in Workflows
+ To be added.
@@ -293,18 +270,8 @@
## Remarks
If subscribed to, this event is raised every time that an instance of the child activity is created for an item in the `Children` collection. The `Children` collection is set through the of the event handler. The child instance is passed in the call so that the can set values on the child. The relevant object from the `Children` collection is also passed.
-
-
-## Examples
- The following code example shows how to set the value of the event. This code example is part of the Replicator SDK sample from the SimpleReplicatorWorkflow.Designer.cs file. For more information, see [Using Replicator](https://msdn.microsoft.com/library/4e35f26b-cf12-4c04-9d25-9ceb958f2858).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet178":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet178":::
-
]]>
- Using the Replicator Activity
- Using Conditions in Workflows
@@ -560,19 +527,7 @@
Gets or sets the for the .
The for the .
-
-
-
- Using the Replicator Activity
- Using Conditions in Workflows
+ To be added.
@@ -701,19 +656,7 @@
Occurs when the begins to execute.
-
- event. This code example is part of the Replicator SDK sample from the SimpleReplicatorWorkflow.Designer.cs file. For more information, see [Using Replicator](https://msdn.microsoft.com/library/4e35f26b-cf12-4c04-9d25-9ceb958f2858).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet178":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet178":::
-
- ]]>
-
- Using the Replicator Activity
- Using Conditions in Workflows
+
@@ -826,18 +769,8 @@
As with a , you can specify the completion condition using a rule condition or code condition.
-
-
-## Examples
- The following code example shows how to set the value of the property to `null`, which means the `ReplicatorActivity` never closes. This code example is part of the Replicator SDK Sample from the SimpleReplicatorWorkflow.Designer.cs file. For more information, see [Using Replicator](https://msdn.microsoft.com/library/4e35f26b-cf12-4c04-9d25-9ceb958f2858).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet178":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet178":::
-
]]>
- Using the Replicator Activity
- Using Conditions in Workflows
diff --git a/xml/System.Workflow.Activities/SendActivity.xml b/xml/System.Workflow.Activities/SendActivity.xml
index 89c537905d1..f18bd1e5687 100644
--- a/xml/System.Workflow.Activities/SendActivity.xml
+++ b/xml/System.Workflow.Activities/SendActivity.xml
@@ -107,13 +107,6 @@
## Remarks
The constructor is typically invoked in the code-beside file created by the workflow designer.
-
-
-## Examples
- The following example shows how to create a new instance of the class. This example was adapted from the `Conversations` SDK sample.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sendactivity/cs/snippets.cs" id="Snippet16":::
-
]]>
@@ -143,13 +136,6 @@
## Remarks
The constructor is typically invoked in the code-beside file created by the workflow designer.
-
-
-## Examples
- The following example shows how to create a new instance of the class.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sendactivity/cs/snippets.cs" id="Snippet17":::
-
]]>
@@ -188,13 +174,6 @@
## Remarks
This event handler associated with this event can be used to read the return value from the service operation invoked.
-
-
-## Examples
- The following example shows how to use the `AfterResponse` event.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sendactivity/cs/snippets.cs" id="Snippet2":::
-
]]>
@@ -264,13 +243,6 @@
> [!NOTE]
> The context of a cannot be set in this event handler.
-
-
-## Examples
- The following example shows how to use the `BeforeSend` event. This example was adapted from the `Conversations` SDK sample.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sendactivity/cs/snippets.cs" id="Snippet3":::
-
]]>
@@ -345,13 +317,6 @@
The channel token also specifies a unique channel name and an owner activity name for the token. A channel token can be shared between multiple send activities that want to use the same endpoint to communicate with a service.
-
-
-## Examples
- The following example shows how to access the `ChannelToken` property. This example was adapted from the `CalculatorClient` SDK sample.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sendactivity/cs/snippets.cs" id="Snippet7":::
-
]]>
@@ -391,13 +356,6 @@
## Remarks
Context information is used for communication between the client and the service it is communicating with and includes such things as identification for correlation.
-
-
-## Examples
- The following example shows how to access the `Context` property. This example was adapted from the `CalculatorClient` SDK sample.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sendactivity/cs/snippets.cs" id="Snippet8":::
-
]]>
@@ -433,13 +391,6 @@
## Remarks
If present, this value is used to define the endpoint address for the operation.
-
-
-## Examples
- The following example shows how to access the `CustomAddress` property. This example was adapted from the `CalculatorClient` SDK sample.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sendactivity/cs/snippets.cs" id="Snippet9":::
-
]]>
@@ -548,13 +499,6 @@
## Remarks
Context information is used for communication between the client and the service it is communicating with and includes such things as identification for correlation.
-
-
-## Examples
- The following example shows how to use the `GetContext` method.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sendactivity/cs/snippets.cs" id="Snippet12":::
-
]]>
@@ -594,13 +538,6 @@
## Remarks
Context information is used for communication between the client and the service it is communicating with and includes such things as identification for correlation.
-
-
-## Examples
- The following example shows how to use the `GetContext` method.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sendactivity/cs/snippets.cs" id="Snippet15":::
-
]]>
@@ -666,13 +603,6 @@
All parameters of the service operation should be bound. Unbound service operation parameters produce compiler warnings and the default values of the parameter are sent when the is invoked.
-
-
-## Examples
- The following example shows how to access the `ParameterBindings` property. This example was adapted from the `Conversations` SDK sample.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sendactivity/cs/snippets.cs" id="Snippet0":::
-
]]>
@@ -701,13 +631,6 @@
## Remarks
This string can be used to retrieve the return value from the associated with the activity in the event handler.
-
-
-## Examples
- The following example shows how to access the `ReturnValuePropertyName` field.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sendactivity/cs/snippets.cs" id="Snippet6":::
-
]]>
@@ -747,13 +670,6 @@
## Remarks
The activity always refers to an existing contract and its defined operations. There is no provision that allows a activity to define a contract itself.
-
-
-## Examples
- The following example shows how to access the `ServiceOperationInfo` property. This example was adapted from the `Conversations` SDK sample.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sendactivity/cs/snippets.cs" id="Snippet1":::
-
]]>
@@ -850,16 +766,7 @@
The of the contract implemented by a service.
The context information to set.
A static method that sets context information for a activity, given an activity instance, an endpoint name used by that activity, the name of the owner activity, a object that represents the type of the contract, and the context information itself.
-
-
-
+ To be added.
diff --git a/xml/System.Workflow.Activities/SequenceActivity.xml b/xml/System.Workflow.Activities/SequenceActivity.xml
index 0fa11c57916..4f0e8b39231 100644
--- a/xml/System.Workflow.Activities/SequenceActivity.xml
+++ b/xml/System.Workflow.Activities/SequenceActivity.xml
@@ -52,17 +52,8 @@
Classes that derive from should not implement the interface, or the derived class will not execute correctly.
-
-
-## Examples
- The following code example demonstrates how to create a new instance of the class and add the classes to the class. This code example is part of the WhileAndParallel SDK Sample from the WhileAndParallelWorkflow.Designer.cs file. For more information, see [Using While and Parallel](https://msdn.microsoft.com/library/776a25cc-6aed-4754-b680-996213831b84).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet181":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet181":::
-
]]>
- Using the Sequence Activity
@@ -90,18 +81,7 @@
Initializes a new instance of the class.
-
- class and add the classes to the class. This code example is part of the WhileAndParallel SDK Sample from the WhileAndParallelWorkflow.Designer.cs file. For more information, see [Using While and Parallel](https://msdn.microsoft.com/library/776a25cc-6aed-4754-b680-996213831b84).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets24.cs" id="Snippet277":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets24.vb" id="Snippet277":::
-
- ]]>
-
- Using the Sequence Activity
+ To be added.
diff --git a/xml/System.Workflow.Activities/SequentialWorkflowActivity.xml b/xml/System.Workflow.Activities/SequentialWorkflowActivity.xml
index 2662fa00df4..f008742f018 100644
--- a/xml/System.Workflow.Activities/SequentialWorkflowActivity.xml
+++ b/xml/System.Workflow.Activities/SequentialWorkflowActivity.xml
@@ -39,17 +39,17 @@
Represents a workflow that executes activities sequentially.
- [!NOTE]
-> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
-
- The is a with `Initialized` and `Completed` events for optional processing of parameters. This makes it particularly useful as a top-level activity when you design sequential-style workflows.
-
- The is a , which means the can contain other activities.
-
+> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
+
+ The is a with `Initialized` and `Completed` events for optional processing of parameters. This makes it particularly useful as a top-level activity when you design sequential-style workflows.
+
+ The is a , which means the can contain other activities.
+
]]>
@@ -127,17 +127,7 @@
Occurs when the workflow has finished.
-
- class, and set the event handler for the event. This code example is part of the Policy SDK Sample from the DiscountPolicyWorkflow.Designer.cs file. For more information, see [Advanced Policy](https://msdn.microsoft.com/library/1ad079ee-b50b-4af4-9575-597eafc97742).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets.vb" id="Snippet1":::
-
- ]]>
-
+ To be added.
@@ -159,11 +149,11 @@
Represents the that targets the event.
-
@@ -268,11 +258,11 @@
Represents the that targets the event.
-
diff --git a/xml/System.Workflow.Activities/SetStateActivity.xml b/xml/System.Workflow.Activities/SetStateActivity.xml
index cc1b6bcd0f2..128174d3702 100644
--- a/xml/System.Workflow.Activities/SetStateActivity.xml
+++ b/xml/System.Workflow.Activities/SetStateActivity.xml
@@ -94,17 +94,7 @@
Initializes a new instance of the class.
-
- class. This code example is part of the SimpleStateMachineWorkflow SDK Sample from the StateMachineWorkflow.cs file. For more information, see [Simple State Machine](https://msdn.microsoft.com/library/1974edbd-253d-4e01-9095-38ff9c3e749e).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets38.cs" id="Snippet310":::
-
- ]]>
-
- Using the SetState Activity
+ To be added.
@@ -185,18 +175,7 @@
Gets or sets the name of the target state.
The name of the target stream.
-
- class and use it implement a simple state machine to transition between 3 states, and set the value of the property. This code example is part of the SimpleStateMachineWorkflow SDK Sample from the StateMachineWorkflow.cs file. For more information, see [Simple State Machine](https://msdn.microsoft.com/library/1974edbd-253d-4e01-9095-38ff9c3e749e).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets19.cs" id="Snippet183":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets19.vb" id="Snippet183":::
-
- ]]>
-
- Using the SetState Activity
+ To be added.
diff --git a/xml/System.Workflow.Activities/SetStateEventArgs.xml b/xml/System.Workflow.Activities/SetStateEventArgs.xml
index 24b6ea25966..f103b8786b1 100644
--- a/xml/System.Workflow.Activities/SetStateEventArgs.xml
+++ b/xml/System.Workflow.Activities/SetStateEventArgs.xml
@@ -31,33 +31,21 @@
Represents a class that is used as an argument to set the state of a .
- [!NOTE]
-> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
-
- The allows for setting the state from the host application. This enables the host application to override the current state of a state machine. This can be accomplished by enqueuing an instance of the class to the WorkflowQueue named by the constant .
-
- A simpler way to accomplish this is to use the method in the class.
-
- You can use the method to perform a SetState operation from the host, or you can do it yourself by enqueuing an event to the state machine workflow as shown in the following example.
-
-```
-public void SetState(string targetStateName)
-{
- if (targetStateName == null)
- {
- throw new ArgumentNullException("targetStateName");
- }
- SetStateEventArgs args1 = new SetStateEventArgs(targetStateName);
- this.WorkflowInstance.EnqueueItemOnIdle("SetStateQueue", args1, null, null);
-}
-```
-
- The state machine workflow uses a special queue called `SetStateQueue` to listen to these special events.
-
+> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
+
+ The allows for setting the state from the host application. This enables the host application to override the current state of a state machine. This can be accomplished by enqueuing an instance of the class to the WorkflowQueue named by the constant .
+
+ A simpler way to accomplish this is to use the method in the class.
+
+ You can use the method to perform a SetState operation from the host, or you can do it yourself by enqueuing an event to the state machine workflow.
+
+ The state machine workflow uses a special queue called `SetStateQueue` to listen to these special events.
+
]]>
diff --git a/xml/System.Workflow.Activities/StateActivity.xml b/xml/System.Workflow.Activities/StateActivity.xml
index 17d4f7a9e29..a5d54592b8b 100644
--- a/xml/System.Workflow.Activities/StateActivity.xml
+++ b/xml/System.Workflow.Activities/StateActivity.xml
@@ -58,17 +58,8 @@
The is a , meaning the activity can contain other activities.
-
-
-## Examples
- The following code example shows how to create a new instance of the class and use it implement a simple state machine to transition between 3 states. This code example is part of the SimpleStateMachineWorkflow SDK sample from the StateMachineWorkflow.cs file. For more information, see [Simple State Machine](https://msdn.microsoft.com/library/1974edbd-253d-4e01-9095-38ff9c3e749e).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet181":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet181":::
-
]]>
- Using the State Activity
@@ -96,18 +87,7 @@
Initializes a new instance of the class.
-
- class. This code example is part of the SimpleStateMachineWorkflow SDK Sample from the StateMachineWorkflow.cs file. For more information, see [Simple State Machine](https://msdn.microsoft.com/library/1974edbd-253d-4e01-9095-38ff9c3e749e).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets19.cs" id="Snippet188":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets19.vb" id="Snippet188":::
-
- ]]>
-
- Using the State Activity
+ To be added.
diff --git a/xml/System.Workflow.Activities/StateInitializationActivity.xml b/xml/System.Workflow.Activities/StateInitializationActivity.xml
index 68b4d341176..02f48c0ce33 100644
--- a/xml/System.Workflow.Activities/StateInitializationActivity.xml
+++ b/xml/System.Workflow.Activities/StateInitializationActivity.xml
@@ -82,18 +82,7 @@
Initializes a new instance of the class.
-
- object. This example is from the State Initialization SDK sample. For more information, see [State Initialization Sample](https://msdn.microsoft.com/library/9053202f-2567-4428-a4a2-85423963646b).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets19.cs" id="Snippet197":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets19.vb" id="Snippet197":::
-
- ]]>
-
- Using the StateInitialization Activity
+ To be added.
diff --git a/xml/System.Workflow.Activities/StateMachineWorkflowActivity.xml b/xml/System.Workflow.Activities/StateMachineWorkflowActivity.xml
index c4f5d70e877..40ac6e6eaa8 100644
--- a/xml/System.Workflow.Activities/StateMachineWorkflowActivity.xml
+++ b/xml/System.Workflow.Activities/StateMachineWorkflowActivity.xml
@@ -66,17 +66,8 @@
activities that never complete are especially useful in processing long running business transactions, as in the case of a purchase order received by a supplier. The fact that the purchase order was fulfilled does not mean that the purchase order process is over. The goods that are part of the purchase order might be returned or the purchase order might be amended and have additional items added to it after the fulfillment. Sometimes there might be a requirement to keep the purchase order records for an extended period of time for legal or other purposes. The fact that a workflow does not finish just means that the workflow remains in an unloaded state. There may be a case for retiring the workflows, which means that after a set period of time the workflow instance may be forced to shut down.
-
-
-## Examples
- The following code example shows how to create a new instance of the class and use it to implement a basic state machine to transition between three states. This code example is part of the SimpleStateMachineWorkflow SDK sample from the StateMachineWorkflow.cs file. For more information, see [Simple State Machine](https://msdn.microsoft.com/library/1974edbd-253d-4e01-9095-38ff9c3e749e).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets11.cs" id="Snippet181":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb" id="Snippet181":::
-
]]>
- State Machine Workflows
@@ -165,14 +156,6 @@
For more information about and , see .
-
-
-## Examples
- The following code example shows how to set the value of the property. This code example is part of the SimpleStateMachineWorkflow SDK sample from the StateMachineWorkflow.cs file. For more information, see [Simple State Machine](https://msdn.microsoft.com/library/1974edbd-253d-4e01-9095-38ff9c3e749e).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets19.cs" id="Snippet184":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets19.vb" id="Snippet184":::
-
]]>
@@ -265,17 +248,7 @@
Gets or sets an that determines whether dynamic updates can be made in the workflow, when overridden in a derived class.
An that identifies when dynamic updates can be made.
-
-
-
+ To be added.
@@ -319,14 +292,6 @@
For more information about and , see .
-
-
-## Examples
- The following code example shows how to set the value of the property. This code example is part of the SimpleStateMachineWorkflow SDK sample from the StateMachineWorkflow.cs file. For more information, see [Simple State Machine](https://msdn.microsoft.com/library/1974edbd-253d-4e01-9095-38ff9c3e749e).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets19.cs" id="Snippet184":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets19.vb" id="Snippet184":::
-
]]>
diff --git a/xml/System.Workflow.Activities/StateMachineWorkflowInstance.xml b/xml/System.Workflow.Activities/StateMachineWorkflowInstance.xml
index d8bb58bc094..25ab90e6614 100644
--- a/xml/System.Workflow.Activities/StateMachineWorkflowInstance.xml
+++ b/xml/System.Workflow.Activities/StateMachineWorkflowInstance.xml
@@ -67,16 +67,7 @@
The current workflow runtime.
The that indicates the instance of the .
Initializes a new instance of the class.
-
- object. This example is from the Ordering State Machine SDK sample. For more information, see [Ordering State Machine Sample](https://msdn.microsoft.com/library/59272cf4-bc98-439c-bcfa-b66999ebce5c).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets1.cs" id="Snippet128":::
-
- ]]>
-
+ To be added.
is a null reference ( in Visual Basic).
diff --git a/xml/System.Workflow.Activities/WhileActivity.xml b/xml/System.Workflow.Activities/WhileActivity.xml
index 8ed4aa44aa9..84ffc1f9870 100644
--- a/xml/System.Workflow.Activities/WhileActivity.xml
+++ b/xml/System.Workflow.Activities/WhileActivity.xml
@@ -54,18 +54,8 @@
Before each iteration, the property is evaluated. If the property evaluates to `false`, the immediately finishes.
-
-
-## Examples
- The following code example demonstrates how to create a new instance of the class and add the class to the class. This code example is part of the WhileAndParallel SDK Sample from the WhileAndParallelWorkflow.Designer.cs file. For more information, see [Using While and Parallel](https://msdn.microsoft.com/library/776a25cc-6aed-4754-b680-996213831b84).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets24.cs" id="Snippet275":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets24.vb" id="Snippet275":::
-
]]>
- Using the While Activity
- Using Conditions in Workflows
@@ -94,19 +84,7 @@
Initializes a new instance of the class.
-
- class and add the class to the class. This code example is part of the WhileAndParallel SDK Sample from the WhileAndParallelWorkflow.Designer.cs file. For more information, see [Using While and Parallel](https://msdn.microsoft.com/library/776a25cc-6aed-4754-b680-996213831b84).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets24.cs" id="Snippet275":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets24.vb" id="Snippet275":::
-
- ]]>
-
- Using the While Activity
- Using Conditions in Workflows
+ To be added.
@@ -178,19 +156,7 @@
Gets or sets a condition that determines whether the should run or finish.
When the property evaluates to , the continues to run. When the evaluates to , the finishes.
-
- class, add the class to the class, and set the property. This code example is part of the WhileAndParallel SDK Sample from the WhileAndParallelWorkflow.Designer.cs file. For more information, see [Using While and Parallel](https://msdn.microsoft.com/library/776a25cc-6aed-4754-b680-996213831b84).
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets24.cs" id="Snippet275":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets24.vb" id="Snippet275":::
-
- ]]>
-
- Using the While Activity
- Using Conditions in Workflows
+ To be added.
diff --git a/xml/System.Workflow.Activities/WorkflowServiceAttributes.xml b/xml/System.Workflow.Activities/WorkflowServiceAttributes.xml
index 098cca210a7..da12abaf0ba 100644
--- a/xml/System.Workflow.Activities/WorkflowServiceAttributes.xml
+++ b/xml/System.Workflow.Activities/WorkflowServiceAttributes.xml
@@ -80,14 +80,6 @@
## Remarks
This constructor is typically called when the parent activity is created.
-
-
-## Examples
- The following example demonstrates how to create a new instance of the class.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/workflowserviceattributes/cs/snippets.cs" id="Snippet0":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/workflowserviceattributes/vb/snippets.vb" id="Snippet0":::
-
]]>
@@ -123,14 +115,6 @@
## Remarks
The default value is `AddressFilterMode.Exact`.
-
-
-## Examples
- The following example demonstrates how to access the `AddressFilterMode` property.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/workflowserviceattributes/cs/snippets.cs" id="Snippet1":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/workflowserviceattributes/vb/snippets.vb" id="Snippet1":::
-
]]>
@@ -166,14 +150,6 @@
## Remarks
The default value is null.
-
-
-## Examples
- The following example demonstrates how to access the `ConfigurationName` property.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/workflowserviceattributes/cs/snippets.cs" id="Snippet2":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/workflowserviceattributes/vb/snippets.vb" id="Snippet2":::
-
]]>
@@ -210,14 +186,6 @@
## Remarks
The default value is `false`.
-
-
-## Examples
- The following example demonstrates how to access the `IgnoreExtensionDataObject` property.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/workflowserviceattributes/cs/snippets.cs" id="Snippet3":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/workflowserviceattributes/vb/snippets.vb" id="Snippet3":::
-
]]>
@@ -254,14 +222,6 @@
## Remarks
The default value is `false`.
-
-
-## Examples
- The following example demonstrates how to access the `IncludeExceptionDetailInFaults` property.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/workflowserviceattributes/cs/snippets.cs" id="Snippet4":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/workflowserviceattributes/vb/snippets.vb" id="Snippet4":::
-
]]>
@@ -297,14 +257,6 @@
## Remarks
The default value is .
-
-
-## Examples
- The following example demonstrates how to access the `MaxItemsInObjectGraph` property.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/workflowserviceattributes/cs/snippets.cs" id="Snippet5":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/workflowserviceattributes/vb/snippets.vb" id="Snippet5":::
-
]]>
@@ -340,14 +292,6 @@
## Remarks
This property corresponds to the `` element when exported. The default value is null.
-
-
-## Examples
- The following example demonstrates how to access the `Name` property.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/workflowserviceattributes/cs/snippets.cs" id="Snippet6":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/workflowserviceattributes/vb/snippets.vb" id="Snippet6":::
-
]]>
@@ -383,14 +327,6 @@
## Remarks
This value corresponds to the value of the `targetNamespace` attribute for the `` element that contains the `` element when exported. The default value is null.
-
-
-## Examples
- The following example demonstrates how to access the `Namespace` property.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/workflowserviceattributes/cs/snippets.cs" id="Snippet7":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/workflowserviceattributes/vb/snippets.vb" id="Snippet7":::
-
]]>
@@ -427,14 +363,6 @@
## Remarks
The default value is `true`.
-
-
-## Examples
- The following example demonstrates how to access the `UseSynchronizationContext` property.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/workflowserviceattributes/cs/snippets.cs" id="Snippet8":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/workflowserviceattributes/vb/snippets.vb" id="Snippet8":::
-
]]>
@@ -471,14 +399,6 @@
## Remarks
The default value is `true`.
-
-
-## Examples
- The following example demonstrates how to access the `ValidateMustUnderstand` property.
-
- :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/workflowserviceattributes/cs/snippets.cs" id="Snippet9":::
- :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/workflowserviceattributes/vb/snippets.vb" id="Snippet9":::
-
]]>
diff --git a/xml/System/Uri.xml b/xml/System/Uri.xml
index 44207b6a580..c0cec77e4be 100644
--- a/xml/System/Uri.xml
+++ b/xml/System/Uri.xml
@@ -6030,7 +6030,8 @@ The following examples show a URI and the results of calling property is set to `true` to indicate that the string used to create the instance was completely escaped before it was passed to the constructor; that is, the `dontEscape` parameter of the constructor call was set to `true`.
+
+The property was originally designed to indicate that the string used to create the instance was completely escaped before it was passed to the constructor; that is, the `dontEscape` parameter of the constructor call was set to `true`. However, since the `dontEscape` parameter is now obsolete, this property is deprecated and shouldn't be used.
## Examples
The following example creates a instance and determines whether it was fully escaped when it was created.