

End of stack trace from previous location where exception was thrown -Īt .End(IAsyncResult result)Īt .(IAsyncResult result, ConnectInfo& info)Īt .FaultTolerantObject`1.CreateAsyncResult.c.b_5_1(CreateAsyncResult thisPtr, IAsyncResult r)Īt .FaultTolerantObject`1.OnEndCreateInstance(IAsyncResult asyncResult)Īt `1.EndGetInstance(IAsyncResult asyncResult)Īt .b_35_3(OpenLinkAsyncResult thisPtr, IAsyncResult r) Inner Exception Stacktrace: at .BeginCheckConnectivity(IEnumerable`1 addresses, Int32 tcpPort, TimeSpan timeout, AsyncCallback callback, Object state)Īt `1.EnumerateSteps(CurrentThreadType state)Īt `1.Start() Inner Exception Message: The type initializer for '' threw an exception.

DARKSTAR ONE IPHLPAPI.DLL CODE
But I am getting the below error when the code tries to do some initialization stuff. I am trying to use in my cmdlet code to send messages to Azure service bus. The cmdlet will be invoked in a Azure powershell Runbook script. I have written a cmdlet, zipped it and uploaded to Azure Automation module.
