Compartir a través de


Hookable<T>.Create Method (Boolean, FieldInfo, Object)

Namespace:  Microsoft.Exchange.Diagnostics
Assembly:  Microsoft.Exchange.Diagnostics (in Microsoft.Exchange.Diagnostics.dll)

Syntax

'Declaration
Public Shared Function Create ( _
    setTestHookNullRestoresDefaultValue As Boolean, _
    field As FieldInfo, _
    instance As Object _
) As Hookable(Of T)
'Usage
Dim setTestHookNullRestoresDefaultValue As Boolean
Dim field As FieldInfo
Dim instance As Object
Dim returnValue As Hookable(Of T)

returnValue = Hookable.Create(setTestHookNullRestoresDefaultValue, _
    field, instance)
public static Hookable<T> Create(
    bool setTestHookNullRestoresDefaultValue,
    FieldInfo field,
    Object instance
)

Parameters