Compartir a través de


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

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

Syntax

'Declaration
Public Shared Function Create ( _
    setTestHookNullRestoresDefaultValue As Boolean, _
    defaultValue As T _
) As Hookable(Of T)
'Usage
Dim setTestHookNullRestoresDefaultValue As Boolean
Dim defaultValue As T
Dim returnValue As Hookable(Of T)

returnValue = Hookable.Create(setTestHookNullRestoresDefaultValue, _
    defaultValue)
public static Hookable<T> Create(
    bool setTestHookNullRestoresDefaultValue,
    T defaultValue
)

Parameters

  • defaultValue
    Type: T