Method TryGetOrCreateDyLib
TryGetOrCreateDyLib(LazyEncodedString, out JITDyLib, out ErrorInfo)
Tries to get or create a JITDyLib in this session by name
public bool TryGetOrCreateDyLib(LazyEncodedString name, out JITDyLib lib, out ErrorInfo errInfo)
Parameters
nameLazyEncodedStringname of the library
libJITDyLibLibrary or null if not found
errInfoErrorInfoErrorInfo for any errors in creating the library if it didn't exist
Returns
Remarks
This will add symbols for any attached platforms. If there are no attached platforms then this is the same as calling GetOrCreateBareDyLib(LazyEncodedString).
name is a LazyEncodedString to allow for the possibility of retrieval of the name from
native code and then providing it back again without going through any sort of marshal/unmarshal sequence. This
allows for the most efficient use of data that is likely to come from the underlying native code.