ServiceContextRequiredAttribute Class

This attribute signifies whether a framework utility method needs to make a call to set the framework paramters like company name, rendering culture, userId and partition key in service context.

This parameters could be later consumed by service calls.

Namespace:  Microsoft.Dynamics.Framework.Reports
Assembly:  Microsoft.Dynamics.Framework.Reports (in Microsoft.Dynamics.Framework.Reports.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple := False, Inherited := False)> _
Public NotInheritable Class ServiceContextRequiredAttribute _
    Inherits Attribute
'Usage
Dim instance As ServiceContextRequiredAttribute
[AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public sealed class ServiceContextRequiredAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Method, AllowMultiple = false, Inherited = false)]
public ref class ServiceContextRequiredAttribute sealed : public Attribute

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.Dynamics.Framework.Reports.ServiceContextRequiredAttribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Dynamics.Framework.Reports Namespace