Compartir a través de


MethodSubstitutionAttribute Class

This assembly-level attribute defines a method substitution.

Namespace: Microsoft.Xrt.Runtime
Assembly: Microsoft.Xrt.Runtime (in Microsoft.Xrt.Runtime.dll)

Usage

'Usage

Syntax

'Declaration
[AttributeUsageAttribute(AttributeTargets.Assembly, AllowMultiple=true, Inherited=false)] 
public sealed class MethodSubstitutionAttribute : Attribute

Remarks

The original method is replaced by the substitution method.

Inheritance Hierarchy

System.Object
   System.Attribute
    Microsoft.Xrt.Runtime.MethodSubstitutionAttribute

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.

Platforms

Development Platforms

Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003

See Also

Reference

MethodSubstitutionAttribute Members
Microsoft.Xrt.Runtime Namespace