/// <summary> /// /// <para>TODO: YOUR CUSTOMIZATIONS OR DELETE THIS METHOD</para> /// /// <para>Should be edited as appropriate if you wish to customize any aspects of how your Licensing policies should affect your application</para> /// </summary> /// <remarks> /// NB the name and namespace of the class needs to remain as-is in order for partial method to slot into the code in SpAgent.cs correctly /// </remarks> partial static void ConfigureProduct( IProductContext productContext ) { //===================================================================================== // TODO: Tweak any settings as desired // (OR YOU CAN DELETE THIS METHOD TO HAVE THE DEFAULT CONFIGURATION BE APPLIED INSTEAD) //===================================================================================== productContext.Configure( configure => configure .Activation.Customize( activation => activation .WithTagging( AddActivationTags ) .WithTransmission( activationTransmission => activationTransmission .WithRetryPolicyDefault() .WithEndpointSelectionPolicyDefault() .BeforeEachAttempt( WhenActivating ) .CompleteWithDefaults() ) .CompleteWithDefaults() ) .CompleteWithDefaults() ); }
/// <summary> /// /// <para>TODO: YOUR CUSTOMIZATIONS OR DELETE THIS METHOD</para> /// /// <para>Should be edited as appropriate if you wish to customize any aspects of how your Licensing policies should affect your application</para> /// </summary> /// <remarks> /// NB the name and namespace of the class needs to remain as-is in order for partial method to slot into the code in SpAgent.cs correctly /// </remarks> static partial void ConfigureProduct(IProductContext productContext) { //===================================================================================== // TODO: Tweak any settings as desired // (OR YOU CAN DELETE THIS METHOD TO HAVE THE DEFAULT CONFIGURATION BE APPLIED INSTEAD) //===================================================================================== productContext.Configure(configure => configure .Activation.Customize(activation => activation .WithTagging(AddActivationTags) .WithTransmission(activationTransmission => activationTransmission .WithRetryPolicyDefault() .WithEndpointSelectionPolicyDefault() .BeforeEachAttempt(WhenActivating) .CompleteWithDefaults()) .CompleteWithDefaults()) .CompleteWithDefaults()); }